@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSnapshotResult() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotResult |
clone() |
boolean |
equals(Object obj) |
Snapshot |
getSnapshot()
A description of the snapshot.
|
int |
hashCode() |
void |
setSnapshot(Snapshot snapshot)
A description of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
CreateSnapshotResult |
withSnapshot(Snapshot snapshot)
A description of the snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSnapshot(Snapshot snapshot)
A description of the snapshot.
snapshot
- A description of the snapshot.public Snapshot getSnapshot()
A description of the snapshot.
public CreateSnapshotResult withSnapshot(Snapshot snapshot)
A description of the snapshot.
snapshot
- A description of the snapshot.public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotResult clone()