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