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:
Applies to
Azure SDK for Java