Class DiskRestorePointAttributes

java.lang.Object
com.azure.resourcemanager.compute.models.SubResourceReadOnly
com.azure.resourcemanager.compute.models.DiskRestorePointAttributes

public final class DiskRestorePointAttributes extends SubResourceReadOnly
Disk Restore Point details.
  • 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:
      the encryption value.
    • 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:
      encryption - the encryption value to set.
      Returns:
      the DiskRestorePointAttributes object itself.
    • sourceDiskRestorePoint

      public ApiEntityReference 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:
      validate in class SubResourceReadOnly
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.