public class CreateSnapshotResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CreateSnapshotResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
CreateSnapshotResult() |
CreateSnapshotResult(Snapshot snapshot,
java.lang.Long snapshotID,
java.lang.String checksum) |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotResult.Builder |
asBuilder() |
static CreateSnapshotResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getChecksum()
A string that represents the correct digits in the stored snapshot.
|
Snapshot |
getSnapshot() |
java.lang.Long |
getSnapshotID()
ID of the newly-created snapshot.
|
int |
hashCode() |
void |
setChecksum(java.lang.String checksum) |
void |
setSnapshot(Snapshot snapshot) |
void |
setSnapshotID(java.lang.Long snapshotID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public Snapshot getSnapshot()
public void setSnapshot(Snapshot snapshot)
public java.lang.Long getSnapshotID()
public void setSnapshotID(java.lang.Long snapshotID)
public java.lang.String getChecksum()
public void setChecksum(java.lang.String checksum)
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 CreateSnapshotResult.Builder builder()
public final CreateSnapshotResult.Builder asBuilder()