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