Class VolumeRevert


  • public final class VolumeRevert
    extends Object
    revert a volume to the snapshot.
    • Constructor Detail

      • VolumeRevert

        public VolumeRevert()
    • Method Detail

      • snapshotId

        public String snapshotId()
        Get the snapshotId property: Resource id of the snapshot.
        Returns:
        the snapshotId value.
      • withSnapshotId

        public VolumeRevert withSnapshotId​(String snapshotId)
        Set the snapshotId property: Resource id of the snapshot.
        Parameters:
        snapshotId - the snapshotId value to set.
        Returns:
        the VolumeRevert object itself.
      • validate

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