你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NatGatewaySku Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NatGatewaySku
- com.
Implements
public final class NatGatewaySku
implements JsonSerializable<NatGatewaySku>
SKU of nat gateway.
Constructor Summary
Constructor | Description |
---|---|
NatGatewaySku() |
Creates an instance of Nat |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Nat |
fromJson(JsonReader jsonReader)
Reads an instance of Nat |
Nat |
name()
Get the name property: Name of Nat Gateway SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Nat |
withName(NatGatewaySkuName name)
Set the name property: Name of Nat Gateway SKU. |
Methods inherited from java.lang.Object
Constructor Details
NatGatewaySku
public NatGatewaySku()
Creates an instance of NatGatewaySku class.
Method Details
fromJson
public static NatGatewaySku fromJson(JsonReader jsonReader)
Reads an instance of NatGatewaySku from the JsonReader.
Parameters:
Returns:
Throws:
name
public NatGatewaySkuName name()
Get the name property: Name of Nat Gateway SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public NatGatewaySku withName(NatGatewaySkuName name)
Set the name property: Name of Nat Gateway SKU.
Parameters:
Returns: