Class DiskRestorePointInstanceView
java.lang.Object
com.azure.resourcemanager.compute.models.DiskRestorePointInstanceView
The instance view of a disk restore point.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiskRestorePointInstanceView class. -
Method Summary
Modifier and TypeMethodDescriptionid()Get the id property: Disk restore point Id.Get the replicationStatus property: The disk restore point replication status information.voidvalidate()Validates the instance.Set the id property: Disk restore point Id.withReplicationStatus(DiskRestorePointReplicationStatus replicationStatus) Set the replicationStatus property: The disk restore point replication status information.
-
Constructor Details
-
DiskRestorePointInstanceView
public DiskRestorePointInstanceView()Creates an instance of DiskRestorePointInstanceView class.
-
-
Method Details
-
id
Get the id property: Disk restore point Id.- Returns:
- the id value.
-
withId
Set the id property: Disk restore point Id.- Parameters:
id- the id value to set.- Returns:
- the DiskRestorePointInstanceView object itself.
-
replicationStatus
Get the replicationStatus property: The disk restore point replication status information.- Returns:
- the replicationStatus value.
-
withReplicationStatus
public DiskRestorePointInstanceView withReplicationStatus(DiskRestorePointReplicationStatus replicationStatus) Set the replicationStatus property: The disk restore point replication status information.- Parameters:
replicationStatus- the replicationStatus value to set.- Returns:
- the DiskRestorePointInstanceView object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-