DiskRestorePointReplicationStatus Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiskRestorePointReplicationStatus
- com.
Implements
public final class DiskRestorePointReplicationStatus
implements JsonSerializable<DiskRestorePointReplicationStatus>
The instance view of a disk restore point.
Constructor Summary
Constructor | Description |
---|---|
DiskRestorePointReplicationStatus() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
completionPercent()
Get the completion |
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
Instance |
status()
Get the status property: The resource status information. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Disk |
withCompletionPercent(Integer completionPercent)
Set the completion |
Disk |
withStatus(InstanceViewStatus status)
Set the status property: The resource status information. |
Methods inherited from java.lang.Object
Constructor Details
DiskRestorePointReplicationStatus
public DiskRestorePointReplicationStatus()
Creates an instance of DiskRestorePointReplicationStatus class.
Method Details
completionPercent
public Integer completionPercent()
Get the completionPercent property: Replication completion percentage.
Returns:
fromJson
public static DiskRestorePointReplicationStatus fromJson(JsonReader jsonReader)
Reads an instance of DiskRestorePointReplicationStatus from the JsonReader.
Parameters:
Returns:
Throws:
status
public InstanceViewStatus status()
Get the status property: The resource status information.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCompletionPercent
public DiskRestorePointReplicationStatus withCompletionPercent(Integer completionPercent)
Set the completionPercent property: Replication completion percentage.
Parameters:
Returns:
withStatus
public DiskRestorePointReplicationStatus withStatus(InstanceViewStatus status)
Set the status property: The resource status information.
Parameters:
Returns:
Applies to
Azure SDK for Java