public class RollbackToSnapshotRequest
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RollbackToSnapshotRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
RollbackToSnapshotRequest() |
RollbackToSnapshotRequest(Long volumeID,
Long snapshotID,
Boolean saveCurrentState,
Optional<String> name,
Optional<Attributes> attributes) |
| Modifier and Type | Method and Description |
|---|---|
RollbackToSnapshotRequest.Builder |
asBuilder() |
static RollbackToSnapshotRequest.Builder |
builder() |
boolean |
equals(Object o) |
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Optional<String> |
getName()
Name for the snapshot.
|
Boolean |
getSaveCurrentState()
Specifies whether to save an active volume image or delete it.
|
Long |
getSnapshotID()
The ID of a previously created snapshot on the given volume.
|
Long |
getVolumeID()
VolumeID for the volume.
|
int |
hashCode() |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setName(Optional<String> name) |
void |
setSaveCurrentState(Boolean saveCurrentState) |
void |
setSnapshotID(Long snapshotID) |
void |
setVolumeID(Long volumeID) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public RollbackToSnapshotRequest(Long volumeID, Long snapshotID, Boolean saveCurrentState, Optional<String> name, Optional<Attributes> attributes)
public Long getVolumeID()
public void setVolumeID(Long volumeID)
public Long getSnapshotID()
public void setSnapshotID(Long snapshotID)
public Boolean getSaveCurrentState()
public void setSaveCurrentState(Boolean saveCurrentState)
public Optional<String> getName()
public void setName(Optional<String> name)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static RollbackToSnapshotRequest.Builder builder()
public final RollbackToSnapshotRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.