public class AzureFirewallNatRuleCollection
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
AzureFirewallNatRuleCollection() |
| Modifier and Type | Method and Description |
|---|---|
AzureFirewallNatRCAction |
action()
Get the action property: The action type of a NAT rule collection.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: The name of the resource that is unique within the Azure firewall.
|
Integer |
priority()
Get the priority property: Priority of the NAT rule collection resource.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the NAT rule collection resource.
|
List<AzureFirewallNatRule> |
rules()
Get the rules property: Collection of rules used by a NAT rule collection.
|
void |
validate()
Validates the instance.
|
AzureFirewallNatRuleCollection |
withAction(AzureFirewallNatRCAction action)
Set the action property: The action type of a NAT rule collection.
|
AzureFirewallNatRuleCollection |
withName(String name)
Set the name property: The name of the resource that is unique within the Azure firewall.
|
AzureFirewallNatRuleCollection |
withPriority(Integer priority)
Set the priority property: Priority of the NAT rule collection resource.
|
AzureFirewallNatRuleCollection |
withRules(List<AzureFirewallNatRule> rules)
Set the rules property: Collection of rules used by a NAT rule collection.
|
public String name()
public AzureFirewallNatRuleCollection withName(String name)
name - the name value to set.public String etag()
public Integer priority()
public AzureFirewallNatRuleCollection withPriority(Integer priority)
priority - the priority value to set.public AzureFirewallNatRCAction action()
public AzureFirewallNatRuleCollection withAction(AzureFirewallNatRCAction action)
action - the action value to set.public List<AzureFirewallNatRule> rules()
public AzureFirewallNatRuleCollection withRules(List<AzureFirewallNatRule> rules)
rules - the rules value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.