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