VolumeBackupProperties Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. VolumeBackupProperties
- com.
public final class VolumeBackupProperties
Volume Backup Properties.
Constructor Summary
Constructor | Description |
---|---|
VolumeBackupProperties() |
Creates an instance of Volume |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
backupEnabled()
Get the backup |
String |
backupPolicyId()
Get the backup |
String |
backupVaultId()
Get the backup |
Boolean |
policyEnforced()
Get the policy |
void |
validate()
Validates the instance. |
Volume |
withBackupEnabled(Boolean backupEnabled)
Set the backup |
Volume |
withBackupPolicyId(String backupPolicyId)
Set the backup |
Volume |
withBackupVaultId(String backupVaultId)
Set the backup |
Volume |
withPolicyEnforced(Boolean policyEnforced)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
VolumeBackupProperties
public VolumeBackupProperties()
Creates an instance of VolumeBackupProperties class.
Method Details
backupEnabled
public Boolean backupEnabled()
Get the backupEnabled property: Backup Enabled.
Returns:
backupPolicyId
public String backupPolicyId()
Get the backupPolicyId property: Backup Policy Resource ID.
Returns:
backupVaultId
public String backupVaultId()
Get the backupVaultId property: Backup Vault Resource ID.
Returns:
policyEnforced
public Boolean policyEnforced()
Get the policyEnforced property: Policy Enforced.
Returns:
validate
public void validate()
Validates the instance.
withBackupEnabled
public VolumeBackupProperties withBackupEnabled(Boolean backupEnabled)
Set the backupEnabled property: Backup Enabled.
Parameters:
Returns:
withBackupPolicyId
public VolumeBackupProperties withBackupPolicyId(String backupPolicyId)
Set the backupPolicyId property: Backup Policy Resource ID.
Parameters:
Returns:
withBackupVaultId
public VolumeBackupProperties withBackupVaultId(String backupVaultId)
Set the backupVaultId property: Backup Vault Resource ID.
Parameters:
Returns:
withPolicyEnforced
public VolumeBackupProperties withPolicyEnforced(Boolean policyEnforced)
Set the policyEnforced property: Policy Enforced.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for