Class StorageAccountSkuConversionStatus
java.lang.Object
com.azure.resourcemanager.storage.models.StorageAccountSkuConversionStatus
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageAccountSkuConversionStatus>
public final class StorageAccountSkuConversionStatus
extends Object
implements com.azure.json.JsonSerializable<StorageAccountSkuConversionStatus>
This defines the sku conversion status object for asynchronous sku conversions.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StorageAccountSkuConversionStatus class. -
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: This property represents the sku conversion end time.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageAccountSkuConversionStatus from the JsonReader.Get the skuConversionStatus property: This property indicates the current sku conversion status.Get the startTime property: This property represents the sku conversion start time.Get the targetSkuName property: This property represents the target sku name to which the account sku is being converted asynchronously.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withTargetSkuName(SkuName targetSkuName) Set the targetSkuName property: This property represents the target sku name to which the account sku is being converted asynchronously.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StorageAccountSkuConversionStatus
public StorageAccountSkuConversionStatus()Creates an instance of StorageAccountSkuConversionStatus class.
-
-
Method Details
-
skuConversionStatus
Get the skuConversionStatus property: This property indicates the current sku conversion status.- Returns:
- the skuConversionStatus value.
-
targetSkuName
Get the targetSkuName property: This property represents the target sku name to which the account sku is being converted asynchronously.- Returns:
- the targetSkuName value.
-
withTargetSkuName
Set the targetSkuName property: This property represents the target sku name to which the account sku is being converted asynchronously.- Parameters:
targetSkuName- the targetSkuName value to set.- Returns:
- the StorageAccountSkuConversionStatus object itself.
-
startTime
Get the startTime property: This property represents the sku conversion start time.- Returns:
- the startTime value.
-
endTime
Get the endTime property: This property represents the sku conversion end time.- Returns:
- the endTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StorageAccountSkuConversionStatus>- Throws:
IOException
-
fromJson
public static StorageAccountSkuConversionStatus fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StorageAccountSkuConversionStatus from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StorageAccountSkuConversionStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the StorageAccountSkuConversionStatus.
-