Class VolumeBackups
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.VolumeBackups
-
public final class VolumeBackups extends Object
Volume details using the backup policy.
-
-
Constructor Summary
Constructors Constructor Description VolumeBackups()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
backupsCount()
Get the backupsCount property: Total count of backups for volume.Boolean
policyEnabled()
Get the policyEnabled property: Policy enabled.void
validate()
Validates the instance.String
volumeName()
Get the volumeName property: Volume name.VolumeBackups
withBackupsCount(Integer backupsCount)
Set the backupsCount property: Total count of backups for volume.VolumeBackups
withPolicyEnabled(Boolean policyEnabled)
Set the policyEnabled property: Policy enabled.VolumeBackups
withVolumeName(String volumeName)
Set the volumeName property: Volume name.
-
-
-
Method Detail
-
volumeName
public String volumeName()
Get the volumeName property: Volume name.- Returns:
- the volumeName value.
-
withVolumeName
public VolumeBackups withVolumeName(String volumeName)
Set the volumeName property: Volume name.- Parameters:
volumeName
- the volumeName value to set.- Returns:
- the VolumeBackups object itself.
-
backupsCount
public Integer backupsCount()
Get the backupsCount property: Total count of backups for volume.- Returns:
- the backupsCount value.
-
withBackupsCount
public VolumeBackups withBackupsCount(Integer backupsCount)
Set the backupsCount property: Total count of backups for volume.- Parameters:
backupsCount
- the backupsCount value to set.- Returns:
- the VolumeBackups object itself.
-
policyEnabled
public Boolean policyEnabled()
Get the policyEnabled property: Policy enabled.- Returns:
- the policyEnabled value.
-
withPolicyEnabled
public VolumeBackups withPolicyEnabled(Boolean policyEnabled)
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.
-
-