Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
Minimum and maximum number of scale units to deploy.
/**
* Minimum and maximum number of scale units to deploy.
*/
public class ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds {
Minimum number of scale units deployed for ExpressRoute gateway.
/**
* Minimum number of scale units deployed for ExpressRoute gateway.
*/
@JsonProperty(value = "min")
private Integer min;
Maximum number of scale units deployed for ExpressRoute gateway.
/**
* Maximum number of scale units deployed for ExpressRoute gateway.
*/
@JsonProperty(value = "max")
private Integer max;
Get minimum number of scale units deployed for ExpressRoute gateway.
Returns: the min value
/**
* Get minimum number of scale units deployed for ExpressRoute gateway.
*
* @return the min value
*/
public Integer min() {
return this.min;
}
Set minimum number of scale units deployed for ExpressRoute gateway.
Params: - min – the min value to set
Returns: the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.
/**
* Set minimum number of scale units deployed for ExpressRoute gateway.
*
* @param min the min value to set
* @return the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.
*/
public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMin(Integer min) {
this.min = min;
return this;
}
Get maximum number of scale units deployed for ExpressRoute gateway.
Returns: the max value
/**
* Get maximum number of scale units deployed for ExpressRoute gateway.
*
* @return the max value
*/
public Integer max() {
return this.max;
}
Set maximum number of scale units deployed for ExpressRoute gateway.
Params: - max – the max value to set
Returns: the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.
/**
* Set maximum number of scale units deployed for ExpressRoute gateway.
*
* @param max the max value to set
* @return the ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds object itself.
*/
public ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds withMax(Integer max) {
this.max = max;
return this;
}
}