ApplicationGatewaySku Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewaySku
- com.
Implements
public final class ApplicationGatewaySku
implements JsonSerializable<ApplicationGatewaySku>
SKU of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewaySku() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
capacity()
Get the capacity property: Capacity (instance count) of an application gateway. |
Application |
family()
Get the family property: Family of an application gateway SKU. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
Application |
name()
Get the name property: Name of an application gateway SKU. |
Application |
tier()
Get the tier property: Tier of an application gateway. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withCapacity(Integer capacity)
Set the capacity property: Capacity (instance count) of an application gateway. |
Application |
withFamily(ApplicationGatewaySkuFamily family)
Set the family property: Family of an application gateway SKU. |
Application |
withName(ApplicationGatewaySkuName name)
Set the name property: Name of an application gateway SKU. |
Application |
withTier(ApplicationGatewayTier tier)
Set the tier property: Tier of an application gateway. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewaySku
public ApplicationGatewaySku()
Creates an instance of ApplicationGatewaySku class.
Method Details
capacity
public Integer capacity()
Get the capacity property: Capacity (instance count) of an application gateway.
Returns:
family
public ApplicationGatewaySkuFamily family()
Get the family property: Family of an application gateway SKU.
Returns:
fromJson
public static ApplicationGatewaySku fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewaySku from the JsonReader.
Parameters:
Returns:
Throws:
name
public ApplicationGatewaySkuName name()
Get the name property: Name of an application gateway SKU.
Returns:
tier
public ApplicationGatewayTier tier()
Get the tier property: Tier of an application gateway.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapacity
public ApplicationGatewaySku withCapacity(Integer capacity)
Set the capacity property: Capacity (instance count) of an application gateway.
Parameters:
Returns:
withFamily
public ApplicationGatewaySku withFamily(ApplicationGatewaySkuFamily family)
Set the family property: Family of an application gateway SKU.
Parameters:
Returns:
withName
public ApplicationGatewaySku withName(ApplicationGatewaySkuName name)
Set the name property: Name of an application gateway SKU.
Parameters:
Returns:
withTier
public ApplicationGatewaySku withTier(ApplicationGatewayTier tier)
Set the tier property: Tier of an application gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java