Class ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds
-
public final class ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds extends Object
Minimum and maximum number of scale units to deploy.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integermax()Get the max property: Maximum number of scale units deployed for ExpressRoute gateway.Integermin()Get the min property: Minimum number of scale units deployed for ExpressRoute gateway.voidvalidate()Validates the instance.ExpressRouteGatewayPropertiesAutoScaleConfigurationBoundswithMax(Integer max)Set the max property: Maximum number of scale units deployed for ExpressRoute gateway.ExpressRouteGatewayPropertiesAutoScaleConfigurationBoundswithMin(Integer min)Set the min property: Minimum number of scale units deployed for ExpressRoute gateway.
-
-
-
Method Detail
-
min
public Integer min()
Get the min property: Minimum number of scale units deployed for ExpressRoute gateway.- Returns:
- the min value.
-
withMin
public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMin(Integer min)
Set the min property: Minimum number of scale units deployed for ExpressRoute gateway.- Parameters:
min- the min value to set.- Returns:
- the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.
-
max
public Integer max()
Get the max property: Maximum number of scale units deployed for ExpressRoute gateway.- Returns:
- the max value.
-
withMax
public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMax(Integer max)
Set the max property: Maximum number of scale units deployed for ExpressRoute gateway.- Parameters:
max- the max value to set.- Returns:
- the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-