Class VolumeRevert
- java.lang.Object
-
- com.azure.resourcemanager.netapp.models.VolumeRevert
-
public final class VolumeRevert extends Object
revert a volume to the snapshot.
-
-
Constructor Summary
Constructors Constructor Description VolumeRevert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
snapshotId()
Get the snapshotId property: Resource id of the snapshot.void
validate()
Validates the instance.VolumeRevert
withSnapshotId(String snapshotId)
Set the snapshotId property: Resource id of the snapshot.
-
-
-
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.
-
-