Class ManagedClusterNatGatewayProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterNatGatewayProfile
-
public final class ManagedClusterNatGatewayProfile extends Object
Profile of the managed cluster NAT gateway.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterNatGatewayProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResourceReference>effectiveOutboundIPs()Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.IntegeridleTimeoutInMinutes()Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.ManagedClusterManagedOutboundIpProfilemanagedOutboundIpProfile()Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.voidvalidate()Validates the instance.ManagedClusterNatGatewayProfilewithEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs)Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.ManagedClusterNatGatewayProfilewithIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes.ManagedClusterNatGatewayProfilewithManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile)Set the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.
-
-
-
Method Detail
-
managedOutboundIpProfile
public ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile()
Get the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.- Returns:
- the managedOutboundIpProfile value.
-
withManagedOutboundIpProfile
public ManagedClusterNatGatewayProfile withManagedOutboundIpProfile(ManagedClusterManagedOutboundIpProfile managedOutboundIpProfile)
Set the managedOutboundIpProfile property: Profile of the managed outbound IP resources of the cluster NAT gateway.- Parameters:
managedOutboundIpProfile- the managedOutboundIpProfile value to set.- Returns:
- the ManagedClusterNatGatewayProfile object itself.
-
effectiveOutboundIPs
public List<ResourceReference> effectiveOutboundIPs()
Get the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.- Returns:
- the effectiveOutboundIPs value.
-
withEffectiveOutboundIPs
public ManagedClusterNatGatewayProfile withEffectiveOutboundIPs(List<ResourceReference> effectiveOutboundIPs)
Set the effectiveOutboundIPs property: The effective outbound IP resources of the cluster NAT gateway.- Parameters:
effectiveOutboundIPs- the effectiveOutboundIPs value to set.- Returns:
- the ManagedClusterNatGatewayProfile object itself.
-
idleTimeoutInMinutes
public Integer idleTimeoutInMinutes()
Get the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.- Returns:
- the idleTimeoutInMinutes value.
-
withIdleTimeoutInMinutes
public ManagedClusterNatGatewayProfile withIdleTimeoutInMinutes(Integer idleTimeoutInMinutes)
Set the idleTimeoutInMinutes property: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120 (inclusive). The default value is 4 minutes.- Parameters:
idleTimeoutInMinutes- the idleTimeoutInMinutes value to set.- Returns:
- the ManagedClusterNatGatewayProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-