Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
AzureFirewall NAT Rule Collection Action.
/** * AzureFirewall NAT Rule Collection Action. */
public class AzureFirewallNatRCAction {
The type of action. Possible values include: 'Snat', 'Dnat'.
/** * The type of action. Possible values include: 'Snat', 'Dnat'. */
@JsonProperty(value = "type") private AzureFirewallNatRCActionType type;
Get the type of action. Possible values include: 'Snat', 'Dnat'.
Returns:the type value
/** * Get the type of action. Possible values include: 'Snat', 'Dnat'. * * @return the type value */
public AzureFirewallNatRCActionType type() { return this.type; }
Set the type of action. Possible values include: 'Snat', 'Dnat'.
Params:
  • type – the type value to set
Returns:the AzureFirewallNatRCAction object itself.
/** * Set the type of action. Possible values include: 'Snat', 'Dnat'. * * @param type the type value to set * @return the AzureFirewallNatRCAction object itself. */
public AzureFirewallNatRCAction withType(AzureFirewallNatRCActionType type) { this.type = type; return this; } }