Class VolumeBackupProperties
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumeBackupProperties
Volume Backup Properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupEnabled property: Backup Enabled.Get the backupPolicyId property: Backup Policy Resource ID.Get the policyEnforced property: Policy Enforced.void
validate()
Validates the instance.vaultId()
Get the vaultId property: Vault Resource ID.withBackupEnabled
(Boolean backupEnabled) Set the backupEnabled property: Backup Enabled.withBackupPolicyId
(String backupPolicyId) Set the backupPolicyId property: Backup Policy Resource ID.withPolicyEnforced
(Boolean policyEnforced) Set the policyEnforced property: Policy Enforced.withVaultId
(String vaultId) Set the vaultId property: Vault Resource ID.
-
Constructor Details
-
VolumeBackupProperties
public VolumeBackupProperties()
-
-
Method Details
-
backupPolicyId
Get the backupPolicyId property: Backup Policy Resource ID.- Returns:
- the backupPolicyId value.
-
withBackupPolicyId
Set the backupPolicyId property: Backup Policy Resource ID.- Parameters:
backupPolicyId
- the backupPolicyId value to set.- Returns:
- the VolumeBackupProperties object itself.
-
policyEnforced
Get the policyEnforced property: Policy Enforced.- Returns:
- the policyEnforced value.
-
withPolicyEnforced
Set the policyEnforced property: Policy Enforced.- Parameters:
policyEnforced
- the policyEnforced value to set.- Returns:
- the VolumeBackupProperties object itself.
-
vaultId
Get the vaultId property: Vault Resource ID.- Returns:
- the vaultId value.
-
withVaultId
Set the vaultId property: Vault Resource ID.- Parameters:
vaultId
- the vaultId value to set.- Returns:
- the VolumeBackupProperties object itself.
-
backupEnabled
Get the backupEnabled property: Backup Enabled.- Returns:
- the backupEnabled value.
-
withBackupEnabled
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.
-