PublicIpPrefixSku Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PublicIpPrefixSku
- com.
Implements
public final class PublicIpPrefixSku
implements JsonSerializable<PublicIpPrefixSku>
SKU of a public IP prefix.
Constructor Summary
Constructor | Description |
---|---|
PublicIpPrefixSku() |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Public |
fromJson(JsonReader jsonReader)
Reads an instance of Public |
Public |
name()
Get the name property: Name of a public IP prefix SKU. |
Public |
tier()
Get the tier property: Tier of a public IP prefix SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Public |
withName(PublicIpPrefixSkuName name)
Set the name property: Name of a public IP prefix SKU. |
Public |
withTier(PublicIpPrefixSkuTier tier)
Set the tier property: Tier of a public IP prefix SKU. |
Methods inherited from java.lang.Object
Constructor Details
PublicIpPrefixSku
public PublicIpPrefixSku()
Creates an instance of PublicIpPrefixSku class.
Method Details
fromJson
public static PublicIpPrefixSku fromJson(JsonReader jsonReader)
Reads an instance of PublicIpPrefixSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public PublicIpPrefixSkuName name()
Get the name property: Name of a public IP prefix SKU.
Returns:
tier
public PublicIpPrefixSkuTier tier()
Get the tier property: Tier of a public IP prefix SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public PublicIpPrefixSku withName(PublicIpPrefixSkuName name)
Set the name property: Name of a public IP prefix SKU.
Parameters:
Returns:
withTier
public PublicIpPrefixSku withTier(PublicIpPrefixSkuTier tier)
Set the tier property: Tier of a public IP prefix SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java