VirtualNetworkGatewaySku Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualNetworkGatewaySku
- com.
Implements
public final class VirtualNetworkGatewaySku
implements JsonSerializable<VirtualNetworkGatewaySku>
VirtualNetworkGatewaySku details.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkGatewaySku() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
capacity()
Get the capacity property: The capacity. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Virtual |
name()
Get the name property: Gateway SKU name. |
Virtual |
tier()
Get the tier property: Gateway SKU tier. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withName(VirtualNetworkGatewaySkuName name)
Set the name property: Gateway SKU name. |
Virtual |
withTier(VirtualNetworkGatewaySkuTier tier)
Set the tier property: Gateway SKU tier. |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkGatewaySku
public VirtualNetworkGatewaySku()
Creates an instance of VirtualNetworkGatewaySku class.
Method Details
capacity
public Integer capacity()
Get the capacity property: The capacity.
Returns:
fromJson
public static VirtualNetworkGatewaySku fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewaySku from the JsonReader.
Parameters:
Returns:
Throws:
name
public VirtualNetworkGatewaySkuName name()
Get the name property: Gateway SKU name.
Returns:
tier
public VirtualNetworkGatewaySkuTier tier()
Get the tier property: Gateway SKU tier.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public VirtualNetworkGatewaySku withName(VirtualNetworkGatewaySkuName name)
Set the name property: Gateway SKU name.
Parameters:
Returns:
withTier
public VirtualNetworkGatewaySku withTier(VirtualNetworkGatewaySkuTier tier)
Set the tier property: Gateway SKU tier.
Parameters:
Returns:
Applies to
Azure SDK for Java