DiskRestorePointAttributes Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SubResourceReadOnly - com.
azure. resourcemanager. compute. models. DiskRestorePointAttributes
- com.
- com.
public final class DiskRestorePointAttributes
extends SubResourceReadOnly
Disk Restore Point details.
Constructor Summary
Constructor | Description |
---|---|
DiskRestorePointAttributes() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Restore |
encryption()
Get the encryption property: Encryption at rest settings for disk restore point. |
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
String |
id()
Get the id property: Resource Id. |
Api |
sourceDiskRestorePoint()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Disk |
withEncryption(RestorePointEncryption encryption)
Set the encryption property: Encryption at rest settings for disk restore point. |
Disk |
withSourceDiskRestorePoint(ApiEntityReference sourceDiskRestorePoint)
Set the source |
Methods inherited from SubResourceReadOnly
Methods inherited from java.lang.Object
Constructor Details
DiskRestorePointAttributes
public DiskRestorePointAttributes()
Creates an instance of DiskRestorePointAttributes class.
Method Details
encryption
public RestorePointEncryption encryption()
Get the encryption property: Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.
Returns:
fromJson
public static DiskRestorePointAttributes fromJson(JsonReader jsonReader)
Reads an instance of DiskRestorePointAttributes from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Overrides:
DiskRestorePointAttributes.id()Returns:
sourceDiskRestorePoint
public ApiEntityReference sourceDiskRestorePoint()
Get the sourceDiskRestorePoint property: Resource Id of the source disk restore point.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiskRestorePointAttributes.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DiskRestorePointAttributes.validate()withEncryption
public DiskRestorePointAttributes withEncryption(RestorePointEncryption encryption)
Set the encryption property: Encryption at rest settings for disk restore point. It is an optional property that can be specified in the input while creating a restore point.
Parameters:
Returns:
withSourceDiskRestorePoint
public DiskRestorePointAttributes withSourceDiskRestorePoint(ApiEntityReference sourceDiskRestorePoint)
Set the sourceDiskRestorePoint property: Resource Id of the source disk restore point.
Parameters:
Returns:
Applies to
Azure SDK for Java