Class SkuInformationInner
java.lang.Object
com.azure.resourcemanager.elasticsan.fluent.models.SkuInformationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SkuInformationInner>
public final class SkuInformationInner
extends Object
implements com.azure.json.JsonSerializable<SkuInformationInner>
ElasticSAN SKU and its properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the capabilities property: The capability information in the specified SKU.static SkuInformationInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SkuInformationInner from the JsonReader.Get the locationInfo property: Availability of the SKU for the location/zone.Get the locations property: The set of locations that the SKU is available.name()
Get the name property: Sku Name.Get the resourceType property: The type of the resource.tier()
Get the tier property: Sku Tier.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Set the name property: Sku Name.Set the tier property: Sku Tier.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SkuInformationInner
public SkuInformationInner()Creates an instance of SkuInformationInner class.
-
-
Method Details
-
name
Get the name property: Sku Name.- Returns:
- the name value.
-
withName
Set the name property: Sku Name.- Parameters:
name
- the name value to set.- Returns:
- the SkuInformationInner object itself.
-
tier
Get the tier property: Sku Tier.- Returns:
- the tier value.
-
withTier
Set the tier property: Sku Tier.- Parameters:
tier
- the tier value to set.- Returns:
- the SkuInformationInner object itself.
-
resourceType
Get the resourceType property: The type of the resource.- Returns:
- the resourceType value.
-
locations
Get the locations property: The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).- Returns:
- the locations value.
-
locationInfo
Get the locationInfo property: Availability of the SKU for the location/zone.- Returns:
- the locationInfo value.
-
capabilities
Get the capabilities property: The capability information in the specified SKU.- Returns:
- the capabilities value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<SkuInformationInner>
- Throws:
IOException
-
fromJson
Reads an instance of SkuInformationInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SkuInformationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the SkuInformationInner.
-