public class CreateSnapshotResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CreateSnapshot.
| Constructor and Description |
|---|
CreateSnapshotResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Snapshot |
getSnapshot()
Information about the snapshot.
|
int |
hashCode() |
void |
setSnapshot(Snapshot snapshot)
Information about the snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotResult |
withSnapshot(Snapshot snapshot)
Information about the snapshot.
|
public Snapshot getSnapshot()
public void setSnapshot(Snapshot snapshot)
snapshot - Information about the snapshot.public CreateSnapshotResult withSnapshot(Snapshot snapshot)
Returns a reference to this object so that method calls can be chained together.
snapshot - Information about the snapshot.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.