Class VolumeRevert

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

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

    • VolumeRevert

      public VolumeRevert()
  • Method Details

    • 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.