Class VolumeBackups
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumeBackups
Volume details using the backup policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupsCount property: Total count of backups for volume.Get the policyEnabled property: Policy enabled.void
validate()
Validates the instance.Get the volumeName property: Volume name.withBackupsCount
(Integer backupsCount) Set the backupsCount property: Total count of backups for volume.withPolicyEnabled
(Boolean policyEnabled) Set the policyEnabled property: Policy enabled.withVolumeName
(String volumeName) Set the volumeName property: Volume name.
-
Constructor Details
-
VolumeBackups
public VolumeBackups()Creates an instance of VolumeBackups class.
-
-
Method Details
-
volumeName
Get the volumeName property: Volume name.- Returns:
- the volumeName value.
-
withVolumeName
Set the volumeName property: Volume name.- Parameters:
volumeName
- the volumeName value to set.- Returns:
- the VolumeBackups object itself.
-
backupsCount
Get the backupsCount property: Total count of backups for volume.- Returns:
- the backupsCount value.
-
withBackupsCount
Set the backupsCount property: Total count of backups for volume.- Parameters:
backupsCount
- the backupsCount value to set.- Returns:
- the VolumeBackups object itself.
-
policyEnabled
Get the policyEnabled property: Policy enabled.- Returns:
- the policyEnabled value.
-
withPolicyEnabled
Set the policyEnabled property: Policy enabled.- Parameters:
policyEnabled
- the policyEnabled value to set.- Returns:
- the VolumeBackups object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-