Dela via


PropertyUpdatesInProgress Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.PropertyUpdatesInProgress

Implements

public final class PropertyUpdatesInProgress
implements JsonSerializable<PropertyUpdatesInProgress>

Properties of the disk for which update is pending.

Constructor Summary

Constructor Description
PropertyUpdatesInProgress()

Creates an instance of PropertyUpdatesInProgress class.

Method Summary

Modifier and Type Method and Description
static PropertyUpdatesInProgress fromJson(JsonReader jsonReader)

Reads an instance of PropertyUpdatesInProgress from the JsonReader.

String targetTier()

Get the targetTier property: The target performance tier of the disk if a tier change operation is in progress.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PropertyUpdatesInProgress withTargetTier(String targetTier)

Set the targetTier property: The target performance tier of the disk if a tier change operation is in progress.

Methods inherited from java.lang.Object

Constructor Details

PropertyUpdatesInProgress

public PropertyUpdatesInProgress()

Creates an instance of PropertyUpdatesInProgress class.

Method Details

fromJson

public static PropertyUpdatesInProgress fromJson(JsonReader jsonReader)

Reads an instance of PropertyUpdatesInProgress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PropertyUpdatesInProgress 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 PropertyUpdatesInProgress.

targetTier

public String targetTier()

Get the targetTier property: The target performance tier of the disk if a tier change operation is in progress.

Returns:

the targetTier value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTargetTier

public PropertyUpdatesInProgress withTargetTier(String targetTier)

Set the targetTier property: The target performance tier of the disk if a tier change operation is in progress.

Parameters:

targetTier - the targetTier value to set.

Returns:

the PropertyUpdatesInProgress object itself.

Applies to