AzureFirewallNatRuleCollection Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. AzureFirewallNatRuleCollection
- com.
- com.
public final class AzureFirewallNatRuleCollection
extends SubResource
NAT rule collection resource.
Constructor Summary
Constructor | Description |
---|---|
AzureFirewallNatRuleCollection() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Azure |
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. |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
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. |
Provisioning |
provisioningState()
Get the provisioning |
List<Azure |
rules()
Get the rules property: Collection of rules used by a NAT rule collection. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withAction(AzureFirewallNatRCAction action)
Set the action property: The action type of a NAT rule collection. |
Azure |
withId(String id) |
Azure |
withName(String name)
Set the name property: The name of the resource that is unique within the Azure firewall. |
Azure |
withPriority(Integer priority)
Set the priority property: Priority of the NAT rule collection resource. |
Azure |
withRules(List<AzureFirewallNatRule> rules)
Set the rules property: Collection of rules used by a NAT rule collection. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
AzureFirewallNatRuleCollection
public AzureFirewallNatRuleCollection()
Creates an instance of AzureFirewallNatRuleCollection class.
Method Details
action
public AzureFirewallNatRCAction action()
Get the action property: The action type of a NAT rule collection.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static AzureFirewallNatRuleCollection fromJson(JsonReader jsonReader)
Reads an instance of AzureFirewallNatRuleCollection from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
Returns:
priority
public Integer priority()
Get the priority property: Priority of the NAT rule collection resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the NAT rule collection resource.
Returns:
rules
public List
Get the rules property: Collection of rules used by a NAT rule collection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureFirewallNatRuleCollection.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withAction
public AzureFirewallNatRuleCollection withAction(AzureFirewallNatRCAction action)
Set the action property: The action type of a NAT rule collection.
Parameters:
Returns:
withId
public AzureFirewallNatRuleCollection withId(String id)
Overrides:
AzureFirewallNatRuleCollection.withId(String id)Parameters:
withName
public AzureFirewallNatRuleCollection withName(String name)
Set the name property: The name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
Parameters:
Returns:
withPriority
public AzureFirewallNatRuleCollection withPriority(Integer priority)
Set the priority property: Priority of the NAT rule collection resource.
Parameters:
Returns:
withRules
public AzureFirewallNatRuleCollection withRules(List
Set the rules property: Collection of rules used by a NAT rule collection.
Parameters:
Returns:
Applies to
Azure SDK for Java