Class NatGatewayPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.NatGatewayPropertiesFormat
-
public final class NatGatewayPropertiesFormat extends Object
Nat Gateway properties.
-
-
Constructor Summary
Constructors Constructor Description NatGatewayPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegeridleTimeoutInMinutes()Get the idleTimeoutInMinutes property: The idle timeout of the nat gateway.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the NAT gateway resource.List<com.azure.core.management.SubResource>publicIpAddresses()Get the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.List<com.azure.core.management.SubResource>publicIpPrefixes()Get the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.StringresourceGuid()Get the resourceGuid property: The resource GUID property of the NAT gateway resource.List<com.azure.core.management.SubResource>subnets()Get the subnets property: An array of references to the subnets using this nat gateway resource.voidvalidate()Validates the instance.NatGatewayPropertiesFormatwithIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)Set the idleTimeoutInMinutes property: The idle timeout of the nat gateway.NatGatewayPropertiesFormatwithPublicIpAddresses(List<com.azure.core.management.SubResource> publicIpAddresses)Set the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.NatGatewayPropertiesFormatwithPublicIpPrefixes(List<com.azure.core.management.SubResource> publicIpPrefixes)Set the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.
-
-
-
Method Detail
-
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: The idle timeout of the nat gateway.- Returns:
- the idleTimeoutInMinutes value.
-
withIdleTimeoutInMinutes
public NatGatewayPropertiesFormat withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: The idle timeout of the nat gateway.- Parameters:
idleTimeoutInMinutes- the idleTimeoutInMinutes value to set.- Returns:
- the NatGatewayPropertiesFormat object itself.
-
publicIpAddresses
public List<com.azure.core.management.SubResource> publicIpAddresses()
Get the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.- Returns:
- the publicIpAddresses value.
-
withPublicIpAddresses
public NatGatewayPropertiesFormat withPublicIpAddresses(List<com.azure.core.management.SubResource> publicIpAddresses)
Set the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.- Parameters:
publicIpAddresses- the publicIpAddresses value to set.- Returns:
- the NatGatewayPropertiesFormat object itself.
-
publicIpPrefixes
public List<com.azure.core.management.SubResource> publicIpPrefixes()
Get the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.- Returns:
- the publicIpPrefixes value.
-
withPublicIpPrefixes
public NatGatewayPropertiesFormat withPublicIpPrefixes(List<com.azure.core.management.SubResource> publicIpPrefixes)
Set the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.- Parameters:
publicIpPrefixes- the publicIpPrefixes value to set.- Returns:
- the NatGatewayPropertiesFormat object itself.
-
subnets
public List<com.azure.core.management.SubResource> subnets()
Get the subnets property: An array of references to the subnets using this nat gateway resource.- Returns:
- the subnets value.
-
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the NAT gateway resource.- Returns:
- the resourceGuid value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the NAT gateway resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-