DiskRestorePointReplicationStatus Class

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

Implements

public final class DiskRestorePointReplicationStatus
implements JsonSerializable<DiskRestorePointReplicationStatus>

The instance view of a disk restore point.

Method Summary

Modifier and Type Method and Description
Integer completionPercent()

Get the completionPercent property: Replication completion percentage.

static DiskRestorePointReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of DiskRestorePointReplicationStatus from the JsonReader.

InstanceViewStatus status()

Get the status property: The resource status information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

completionPercent

public Integer completionPercent()

Get the completionPercent property: Replication completion percentage.

Returns:

the completionPercent value.

fromJson

public static DiskRestorePointReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of DiskRestorePointReplicationStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public InstanceViewStatus status()

Get the status property: The resource status information.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to