Class VolumePatchPropertiesDataProtection
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumePatchPropertiesDataProtection
DataProtection
DataProtection type volumes include an object containing details of the replication.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackup()
Get the backup property: Backup Properties.snapshot()
Get the snapshot property: Snapshot properties.void
validate()
Validates the instance.withBackup
(VolumeBackupProperties backup) Set the backup property: Backup Properties.withSnapshot
(VolumeSnapshotProperties snapshot) Set the snapshot property: Snapshot properties.
-
Constructor Details
-
VolumePatchPropertiesDataProtection
public VolumePatchPropertiesDataProtection()
-
-
Method Details
-
backup
Get the backup property: Backup Properties.- Returns:
- the backup value.
-
withBackup
Set the backup property: Backup Properties.- Parameters:
backup
- the backup value to set.- Returns:
- the VolumePatchPropertiesDataProtection object itself.
-
snapshot
Get the snapshot property: Snapshot properties.- Returns:
- the snapshot value.
-
withSnapshot
Set the snapshot property: Snapshot properties.- Parameters:
snapshot
- the snapshot value to set.- Returns:
- the VolumePatchPropertiesDataProtection object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-