Class VolumePropertiesDataProtection


  • public final class VolumePropertiesDataProtection
    extends Object
    DataProtection DataProtection type volumes include an object containing details of the replication.
    • Constructor Detail

      • VolumePropertiesDataProtection

        public VolumePropertiesDataProtection()
    • Method Detail

      • backup

        public VolumeBackupProperties backup()
        Get the backup property: Backup Properties.
        Returns:
        the backup value.
      • replication

        public ReplicationObject replication()
        Get the replication property: Replication properties.
        Returns:
        the replication value.
      • withReplication

        public VolumePropertiesDataProtection withReplication​(ReplicationObject replication)
        Set the replication property: Replication properties.
        Parameters:
        replication - the replication value to set.
        Returns:
        the VolumePropertiesDataProtection object itself.
      • snapshot

        public VolumeSnapshotProperties snapshot()
        Get the snapshot property: Snapshot properties.
        Returns:
        the snapshot value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.