StorageAccountSkuConversionStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.StorageAccountSkuConversionStatus

Implements

public final class StorageAccountSkuConversionStatus
implements JsonSerializable<StorageAccountSkuConversionStatus>

This defines the sku conversion status object for asynchronous sku conversions.

Constructor Summary

Constructor Description
StorageAccountSkuConversionStatus()

Creates an instance of StorageAccountSkuConversionStatus class.

Method Summary

Modifier and Type Method and Description
String endTime()

Get the endTime property: This property represents the sku conversion end time.

static StorageAccountSkuConversionStatus fromJson(JsonReader jsonReader)

Reads an instance of StorageAccountSkuConversionStatus from the JsonReader.

SkuConversionStatus skuConversionStatus()

Get the skuConversionStatus property: This property indicates the current sku conversion status.

String startTime()

Get the startTime property: This property represents the sku conversion start time.

SkuName targetSkuName()

Get the targetSkuName property: This property represents the target sku name to which the account sku is being converted asynchronously.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageAccountSkuConversionStatus 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 java.lang.Object

Constructor Details

StorageAccountSkuConversionStatus

public StorageAccountSkuConversionStatus()

Creates an instance of StorageAccountSkuConversionStatus class.

Method Details

endTime

public String endTime()

Get the endTime property: This property represents the sku conversion end time.

Returns:

the endTime value.

fromJson

public static StorageAccountSkuConversionStatus fromJson(JsonReader jsonReader)

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.

skuConversionStatus

public SkuConversionStatus skuConversionStatus()

Get the skuConversionStatus property: This property indicates the current sku conversion status.

Returns:

the skuConversionStatus value.

startTime

public String startTime()

Get the startTime property: This property represents the sku conversion start time.

Returns:

the startTime value.

targetSkuName

public SkuName 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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTargetSkuName

public StorageAccountSkuConversionStatus withTargetSkuName(SkuName targetSkuName)

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.

Applies to