Class NatGatewayPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.NatGatewayPropertiesFormat
Nat Gateway properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NatGatewayPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the idleTimeoutInMinutes property: The idle timeout of the nat gateway.Get the provisioningState property: The provisioning state of the NAT gateway resource.List<com.azure.core.management.SubResource>Get the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.List<com.azure.core.management.SubResource>Get the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.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.withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes) Set the idleTimeoutInMinutes property: The idle timeout of the nat gateway.withPublicIpAddresses(List<com.azure.core.management.SubResource> publicIpAddresses) Set the publicIpAddresses property: An array of public ip addresses associated with the nat gateway resource.withPublicIpPrefixes(List<com.azure.core.management.SubResource> publicIpPrefixes) Set the publicIpPrefixes property: An array of public ip prefixes associated with the nat gateway resource.
-
Constructor Details
-
NatGatewayPropertiesFormat
public NatGatewayPropertiesFormat()Creates an instance of NatGatewayPropertiesFormat class.
-
-
Method Details
-
idleTimeoutInMinutes
Get the idleTimeoutInMinutes property: The idle timeout of the nat gateway.- Returns:
- the idleTimeoutInMinutes value.
-
withIdleTimeoutInMinutes
Set the idleTimeoutInMinutes property: The idle timeout of the nat gateway.- Parameters:
idleTimeoutInMinutes- the idleTimeoutInMinutes value to set.- Returns:
- the NatGatewayPropertiesFormat object itself.
-
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
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
Get the subnets property: An array of references to the subnets using this nat gateway resource.- Returns:
- the subnets value.
-
resourceGuid
Get the resourceGuid property: The resource GUID property of the NAT gateway resource.- Returns:
- the resourceGuid value.
-
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.
-