VolumePropertiesDataProtection Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. VolumePropertiesDataProtection
- com.
public final class VolumePropertiesDataProtection
DataProtection DataProtection type volumes include an object containing details of the replication.
Constructor Summary
Constructor | Description |
---|---|
VolumePropertiesDataProtection() |
Creates an instance of Volume |
Method Summary
Modifier and Type | Method and Description |
---|---|
Volume |
backup()
Get the backup property: Backup Properties. |
Replication |
replication()
Get the replication property: Replication properties. |
Volume |
snapshot()
Get the snapshot property: Snapshot properties. |
void |
validate()
Validates the instance. |
Volume |
volumeRelocation()
Get the volume |
Volume |
withBackup(VolumeBackupProperties backup)
Set the backup property: Backup Properties. |
Volume |
withReplication(ReplicationObject replication)
Set the replication property: Replication properties. |
Volume |
withSnapshot(VolumeSnapshotProperties snapshot)
Set the snapshot property: Snapshot properties. |
Volume |
withVolumeRelocation(VolumeRelocationProperties volumeRelocation)
Set the volume |
Methods inherited from java.lang.Object
Constructor Details
VolumePropertiesDataProtection
public VolumePropertiesDataProtection()
Creates an instance of VolumePropertiesDataProtection class.
Method Details
backup
public VolumeBackupProperties backup()
Get the backup property: Backup Properties.
Returns:
replication
public ReplicationObject replication()
Get the replication property: Replication properties.
Returns:
snapshot
public VolumeSnapshotProperties snapshot()
Get the snapshot property: Snapshot properties.
Returns:
validate
public void validate()
Validates the instance.
volumeRelocation
public VolumeRelocationProperties volumeRelocation()
Get the volumeRelocation property: VolumeRelocation properties.
Returns:
withBackup
public VolumePropertiesDataProtection withBackup(VolumeBackupProperties backup)
Set the backup property: Backup Properties.
Parameters:
Returns:
withReplication
public VolumePropertiesDataProtection withReplication(ReplicationObject replication)
Set the replication property: Replication properties.
Parameters:
Returns:
withSnapshot
public VolumePropertiesDataProtection withSnapshot(VolumeSnapshotProperties snapshot)
Set the snapshot property: Snapshot properties.
Parameters:
Returns:
withVolumeRelocation
public VolumePropertiesDataProtection withVolumeRelocation(VolumeRelocationProperties volumeRelocation)
Set the volumeRelocation property: VolumeRelocation properties.
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