Class VolumeBackupProperties

java.lang.Object
com.azure.resourcemanager.netapp.models.VolumeBackupProperties

public final class VolumeBackupProperties extends Object
Volume Backup Properties.
  • Constructor Details

    • VolumeBackupProperties

      public VolumeBackupProperties()
  • Method Details

    • backupPolicyId

      public String backupPolicyId()
      Get the backupPolicyId property: Backup Policy Resource ID.
      Returns:
      the backupPolicyId value.
    • withBackupPolicyId

      public VolumeBackupProperties withBackupPolicyId(String backupPolicyId)
      Set the backupPolicyId property: Backup Policy Resource ID.
      Parameters:
      backupPolicyId - the backupPolicyId value to set.
      Returns:
      the VolumeBackupProperties object itself.
    • policyEnforced

      public Boolean policyEnforced()
      Get the policyEnforced property: Policy Enforced.
      Returns:
      the policyEnforced value.
    • withPolicyEnforced

      public VolumeBackupProperties withPolicyEnforced(Boolean policyEnforced)
      Set the policyEnforced property: Policy Enforced.
      Parameters:
      policyEnforced - the policyEnforced value to set.
      Returns:
      the VolumeBackupProperties object itself.
    • vaultId

      public String vaultId()
      Get the vaultId property: Vault Resource ID.
      Returns:
      the vaultId value.
    • withVaultId

      public VolumeBackupProperties withVaultId(String vaultId)
      Set the vaultId property: Vault Resource ID.
      Parameters:
      vaultId - the vaultId value to set.
      Returns:
      the VolumeBackupProperties object itself.
    • backupEnabled

      public Boolean backupEnabled()
      Get the backupEnabled property: Backup Enabled.
      Returns:
      the backupEnabled value.
    • withBackupEnabled

      public VolumeBackupProperties withBackupEnabled(Boolean backupEnabled)
      Set the backupEnabled property: Backup Enabled.
      Parameters:
      backupEnabled - the backupEnabled value to set.
      Returns:
      the VolumeBackupProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.