Class DiskRestorePointReplicationStatus
java.lang.Object
com.azure.resourcemanager.compute.models.DiskRestorePointReplicationStatus
The instance view of a disk restore point.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the completionPercent property: Replication completion percentage.status()Get the status property: The resource status information.voidvalidate()Validates the instance.withCompletionPercent(Integer completionPercent) Set the completionPercent property: Replication completion percentage.withStatus(InstanceViewStatus status) Set the status property: The resource status information.
-
Constructor Details
-
DiskRestorePointReplicationStatus
public DiskRestorePointReplicationStatus()
-
-
Method Details
-
status
Get the status property: The resource status information.- Returns:
- the status value.
-
withStatus
Set the status property: The resource status information.- Parameters:
status- the status value to set.- Returns:
- the DiskRestorePointReplicationStatus object itself.
-
completionPercent
Get the completionPercent property: Replication completion percentage.- Returns:
- the completionPercent value.
-
withCompletionPercent
Set the completionPercent property: Replication completion percentage.- Parameters:
completionPercent- the completionPercent value to set.- Returns:
- the DiskRestorePointReplicationStatus object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-