### YamlMime:JavaType
uid: "com.azure.resourcemanager.netapp.models.VolumeRevert"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert"
name: "VolumeRevert"
nameWithType: "VolumeRevert"
summary: "revert a volume to the snapshot."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **VolumeRevert** implements <>"
constructors:
- uid: "com.azure.resourcemanager.netapp.models.VolumeRevert.VolumeRevert()"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert.VolumeRevert()"
name: "VolumeRevert()"
nameWithType: "VolumeRevert.VolumeRevert()"
summary: "Creates an instance of VolumeRevert class."
syntax: "public VolumeRevert()"
desc: "Creates an instance of VolumeRevert class."
methods:
- uid: "com.azure.resourcemanager.netapp.models.VolumeRevert.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "VolumeRevert.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of VolumeRevert from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static VolumeRevert fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the VolumeRevert."
type: "IOException"
desc: "Reads an instance of VolumeRevert from the JsonReader."
returns:
description: "An instance of VolumeRevert if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.netapp.models.VolumeRevert.snapshotId()"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert.snapshotId()"
name: "snapshotId()"
nameWithType: "VolumeRevert.snapshotId()"
summary: "Get the snapshotId property: Resource id of the snapshot."
syntax: "public String snapshotId()"
desc: "Get the snapshotId property: Resource id of the snapshot."
returns:
description: "the snapshotId value."
type: "String"
- uid: "com.azure.resourcemanager.netapp.models.VolumeRevert.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "VolumeRevert.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.netapp.models.VolumeRevert.validate()"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert.validate()"
name: "validate()"
nameWithType: "VolumeRevert.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.netapp.models.VolumeRevert.withSnapshotId(java.lang.String)"
fullName: "com.azure.resourcemanager.netapp.models.VolumeRevert.withSnapshotId(String snapshotId)"
name: "withSnapshotId(String snapshotId)"
nameWithType: "VolumeRevert.withSnapshotId(String snapshotId)"
summary: "Set the snapshotId property: Resource id of the snapshot."
parameters:
- description: "the snapshotId value to set."
name: "snapshotId"
type: "String"
syntax: "public VolumeRevert withSnapshotId(String snapshotId)"
desc: "Set the snapshotId property: Resource id of the snapshot."
returns:
description: "the VolumeRevert object itself."
type: ""
type: "class"
desc: "revert a volume to the snapshot."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.netapp.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-netapp:1.5.1