public class BreakSnapMirrorVolumeRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BreakSnapMirrorVolumeRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
BreakSnapMirrorVolumeRequest() |
BreakSnapMirrorVolumeRequest(java.lang.Long volumeID,
Optional<java.lang.Long> snapshotID,
Optional<java.lang.Boolean> preserve,
Optional<java.lang.String> access) |
Modifier and Type | Method and Description |
---|---|
BreakSnapMirrorVolumeRequest.Builder |
asBuilder() |
static BreakSnapMirrorVolumeRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAccess()
Resulting volume access mode.
|
Optional<java.lang.Boolean> |
getPreserve()
Preserve any snapshots newer than the snapshot identified by snapshotID.
|
Optional<java.lang.Long> |
getSnapshotID()
Roll back the volume to the snapshot identified by this ID.
|
java.lang.Long |
getVolumeID()
The volume on which to perform the break operation.
|
int |
hashCode() |
void |
setAccess(Optional<java.lang.String> access) |
void |
setPreserve(Optional<java.lang.Boolean> preserve) |
void |
setSnapshotID(Optional<java.lang.Long> snapshotID) |
void |
setVolumeID(java.lang.Long volumeID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long getVolumeID()
public void setVolumeID(java.lang.Long volumeID)
public Optional<java.lang.Long> getSnapshotID()
public void setSnapshotID(Optional<java.lang.Long> snapshotID)
public Optional<java.lang.Boolean> getPreserve()
public void setPreserve(Optional<java.lang.Boolean> preserve)
public Optional<java.lang.String> getAccess()
public void setAccess(Optional<java.lang.String> access)
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 BreakSnapMirrorVolumeRequest.Builder builder()
public final BreakSnapMirrorVolumeRequest.Builder asBuilder()