public class RollbackToGroupSnapshotRequest
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RollbackToGroupSnapshotRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
RollbackToGroupSnapshotRequest() |
RollbackToGroupSnapshotRequest(Long groupSnapshotID,
Boolean saveCurrentState,
Optional<String> name,
Optional<Attributes> attributes) |
| Modifier and Type | Method and Description |
|---|---|
RollbackToGroupSnapshotRequest.Builder |
asBuilder() |
static RollbackToGroupSnapshotRequest.Builder |
builder() |
boolean |
equals(Object o) |
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Long |
getGroupSnapshotID()
Specifies the unique ID of the group snapshot.
|
Optional<String> |
getName()
Name for the group snapshot of the volume's
current state that is created if "saveCurrentState" is
set to true.
|
Boolean |
getSaveCurrentState()
Specifies whether to save an active volume image or delete it.
|
int |
hashCode() |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setGroupSnapshotID(Long groupSnapshotID) |
void |
setName(Optional<String> name) |
void |
setSaveCurrentState(Boolean saveCurrentState) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public RollbackToGroupSnapshotRequest(Long groupSnapshotID, Boolean saveCurrentState, Optional<String> name, Optional<Attributes> attributes)
public Long getGroupSnapshotID()
public void setGroupSnapshotID(Long groupSnapshotID)
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 RollbackToGroupSnapshotRequest.Builder builder()
public final RollbackToGroupSnapshotRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.