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