Class VolumeBackupProperties
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumeBackupProperties
Volume Backup Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VolumeBackupProperties class. -
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.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.
-
Constructor Details
-
VolumeBackupProperties
public VolumeBackupProperties()Creates an instance of VolumeBackupProperties class.
-
-
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.
-
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.
-