Class ApplicationGatewayAutoscaleConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ApplicationGatewayAutoscaleConfiguration
-
public final class ApplicationGatewayAutoscaleConfiguration extends Object
Application Gateway autoscale configuration.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayAutoscaleConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegermaxCapacity()Get the maxCapacity property: Upper bound on number of Application Gateway capacity.intminCapacity()Get the minCapacity property: Lower bound on number of Application Gateway capacity.voidvalidate()Validates the instance.ApplicationGatewayAutoscaleConfigurationwithMaxCapacity(Integer maxCapacity)Set the maxCapacity property: Upper bound on number of Application Gateway capacity.ApplicationGatewayAutoscaleConfigurationwithMinCapacity(int minCapacity)Set the minCapacity property: Lower bound on number of Application Gateway capacity.
-
-
-
Method Detail
-
minCapacity
public int minCapacity()
Get the minCapacity property: Lower bound on number of Application Gateway capacity.- Returns:
- the minCapacity value.
-
withMinCapacity
public ApplicationGatewayAutoscaleConfiguration withMinCapacity(int minCapacity)
Set the minCapacity property: Lower bound on number of Application Gateway capacity.- Parameters:
minCapacity- the minCapacity value to set.- Returns:
- the ApplicationGatewayAutoscaleConfiguration object itself.
-
maxCapacity
public Integer maxCapacity()
Get the maxCapacity property: Upper bound on number of Application Gateway capacity.- Returns:
- the maxCapacity value.
-
withMaxCapacity
public ApplicationGatewayAutoscaleConfiguration withMaxCapacity(Integer maxCapacity)
Set the maxCapacity property: Upper bound on number of Application Gateway capacity.- Parameters:
maxCapacity- the maxCapacity value to set.- Returns:
- the ApplicationGatewayAutoscaleConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-