Class VolumePatchPropertiesDataProtection
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.VolumePatchPropertiesDataProtection
-
public final class VolumePatchPropertiesDataProtection extends Object
DataProtection DataProtection type volumes include an object containing details of the replication.
-
-
Constructor Summary
Constructors Constructor Description VolumePatchPropertiesDataProtection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeBackupProperties
backup()
Get the backup property: Backup Properties.VolumeSnapshotProperties
snapshot()
Get the snapshot property: Snapshot properties.void
validate()
Validates the instance.VolumePatchPropertiesDataProtection
withBackup(VolumeBackupProperties backup)
Set the backup property: Backup Properties.VolumePatchPropertiesDataProtection
withSnapshot(VolumeSnapshotProperties snapshot)
Set the snapshot property: Snapshot properties.
-
-
-
Method Detail
-
backup
public VolumeBackupProperties backup()
Get the backup property: Backup Properties.- Returns:
- the backup value.
-
withBackup
public VolumePatchPropertiesDataProtection withBackup(VolumeBackupProperties backup)
Set the backup property: Backup Properties.- Parameters:
backup
- the backup value to set.- Returns:
- the VolumePatchPropertiesDataProtection object itself.
-
snapshot
public VolumeSnapshotProperties snapshot()
Get the snapshot property: Snapshot properties.- Returns:
- the snapshot value.
-
withSnapshot
public VolumePatchPropertiesDataProtection withSnapshot(VolumeSnapshotProperties snapshot)
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.
-
-