Class DiskRestorePointAttributes
java.lang.Object
com.azure.resourcemanager.compute.models.SubResourceReadOnly
com.azure.resourcemanager.compute.models.DiskRestorePointAttributes
Disk Restore Point details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DiskRestorePointAttributes class. -
Method Summary
Modifier and TypeMethodDescriptionGet the encryption property: Encryption at rest settings for disk restore point.Get the sourceDiskRestorePoint property: Resource Id of the source disk restore point.voidvalidate()Validates the instance.withEncryption(RestorePointEncryption encryption) Set the encryption property: Encryption at rest settings for disk restore point.withSourceDiskRestorePoint(ApiEntityReference sourceDiskRestorePoint) Set the sourceDiskRestorePoint property: Resource Id of the source disk restore point.Methods inherited from class com.azure.resourcemanager.compute.models.SubResourceReadOnly
id
-
Constructor Details
-
DiskRestorePointAttributes
public DiskRestorePointAttributes()Creates an instance of DiskRestorePointAttributes class.
-
-
Method Details
-
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:
- the encryption value.
-
withEncryption
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:
encryption- the encryption value to set.- Returns:
- the DiskRestorePointAttributes object itself.
-
sourceDiskRestorePoint
Get the sourceDiskRestorePoint property: Resource Id of the source disk restore point.- Returns:
- the sourceDiskRestorePoint value.
-
withSourceDiskRestorePoint
public DiskRestorePointAttributes withSourceDiskRestorePoint(ApiEntityReference sourceDiskRestorePoint) Set the sourceDiskRestorePoint property: Resource Id of the source disk restore point.- Parameters:
sourceDiskRestorePoint- the sourceDiskRestorePoint value to set.- Returns:
- the DiskRestorePointAttributes object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classSubResourceReadOnly- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-