Class VirtualNetworkGatewaySku
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VirtualNetworkGatewaySku
-
public final class VirtualNetworkGatewaySku extends Object
VirtualNetworkGatewaySku details.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkGatewaySku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercapacity()Get the capacity property: The capacity.VirtualNetworkGatewaySkuNamename()Get the name property: Gateway SKU name.VirtualNetworkGatewaySkuTiertier()Get the tier property: Gateway SKU tier.voidvalidate()Validates the instance.VirtualNetworkGatewaySkuwithName(VirtualNetworkGatewaySkuName name)Set the name property: Gateway SKU name.VirtualNetworkGatewaySkuwithTier(VirtualNetworkGatewaySkuTier tier)Set the tier property: Gateway SKU tier.
-
-
-
Method Detail
-
name
public VirtualNetworkGatewaySkuName name()
Get the name property: Gateway SKU name.- Returns:
- the name value.
-
withName
public VirtualNetworkGatewaySku withName(VirtualNetworkGatewaySkuName name)
Set the name property: Gateway SKU name.- Parameters:
name- the name value to set.- Returns:
- the VirtualNetworkGatewaySku object itself.
-
tier
public VirtualNetworkGatewaySkuTier tier()
Get the tier property: Gateway SKU tier.- Returns:
- the tier value.
-
withTier
public VirtualNetworkGatewaySku withTier(VirtualNetworkGatewaySkuTier tier)
Set the tier property: Gateway SKU tier.- Parameters:
tier- the tier value to set.- Returns:
- the VirtualNetworkGatewaySku object itself.
-
capacity
public Integer capacity()
Get the capacity property: The capacity.- Returns:
- the capacity value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-