Class VolumePropertiesDataProtection

java.lang.Object
com.azure.resourcemanager.netapp.models.VolumePropertiesDataProtection

public final class VolumePropertiesDataProtection extends Object
DataProtection

DataProtection type volumes include an object containing details of the replication.

  • Constructor Details

    • VolumePropertiesDataProtection

      public VolumePropertiesDataProtection()
  • Method Details

    • backup

      public VolumeBackupProperties 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 VolumePropertiesDataProtection object itself.
    • 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.
    • withSnapshot

      Set the snapshot property: Snapshot properties.
      Parameters:
      snapshot - the snapshot value to set.
      Returns:
      the VolumePropertiesDataProtection object itself.
    • validate

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