Class VolumeRevert
java.lang.Object
com.azure.resourcemanager.netapp.models.VolumeRevert
revert a volume to the snapshot.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the snapshotId property: Resource id of the snapshot.void
validate()
Validates the instance.withSnapshotId
(String snapshotId) Set the snapshotId property: Resource id of the snapshot.
-
Constructor Details
-
VolumeRevert
public VolumeRevert()
-
-
Method Details
-
snapshotId
Get the snapshotId property: Resource id of the snapshot.- Returns:
- the snapshotId value.
-
withSnapshotId
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.
-