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