@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()
Describes a snapshot.
|
int |
hashCode() |
void |
setSnapshot(Snapshot snapshot)
Describes a snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateSnapshotResult |
withSnapshot(Snapshot snapshot)
Describes a snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSnapshot(Snapshot snapshot)
Describes a snapshot.
snapshot
- Describes a snapshot.public Snapshot getSnapshot()
Describes a snapshot.
public CreateSnapshotResult withSnapshot(Snapshot snapshot)
Describes a snapshot.
snapshot
- Describes a snapshot.public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.