Class ApplicationGatewaySku
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ApplicationGatewaySku
-
public final class ApplicationGatewaySku extends Object
SKU of an application gateway.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewaySku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercapacity()Get the capacity property: Capacity (instance count) of an application gateway.ApplicationGatewaySkuNamename()Get the name property: Name of an application gateway SKU.ApplicationGatewayTiertier()Get the tier property: Tier of an application gateway.voidvalidate()Validates the instance.ApplicationGatewaySkuwithCapacity(Integer capacity)Set the capacity property: Capacity (instance count) of an application gateway.ApplicationGatewaySkuwithName(ApplicationGatewaySkuName name)Set the name property: Name of an application gateway SKU.ApplicationGatewaySkuwithTier(ApplicationGatewayTier tier)Set the tier property: Tier of an application gateway.
-
-
-
Method Detail
-
name
public ApplicationGatewaySkuName name()
Get the name property: Name of an application gateway SKU.- Returns:
- the name value.
-
withName
public ApplicationGatewaySku withName(ApplicationGatewaySkuName name)
Set the name property: Name of an application gateway SKU.- Parameters:
name- the name value to set.- Returns:
- the ApplicationGatewaySku object itself.
-
tier
public ApplicationGatewayTier tier()
Get the tier property: Tier of an application gateway.- Returns:
- the tier value.
-
withTier
public ApplicationGatewaySku withTier(ApplicationGatewayTier tier)
Set the tier property: Tier of an application gateway.- Parameters:
tier- the tier value to set.- Returns:
- the ApplicationGatewaySku object itself.
-
capacity
public Integer capacity()
Get the capacity property: Capacity (instance count) of an application gateway.- Returns:
- the capacity value.
-
withCapacity
public ApplicationGatewaySku withCapacity(Integer capacity)
Set the capacity property: Capacity (instance count) of an application gateway.- Parameters:
capacity- the capacity value to set.- Returns:
- the ApplicationGatewaySku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-