public class CopySnapshotResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CopySnapshot.
| Constructor and Description |
|---|
CopySnapshotResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSnapshotId()
The ID of the new snapshot.
|
int |
hashCode() |
void |
setSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopySnapshotResult |
withSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.
|
public java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId - The ID of the new snapshot.public CopySnapshotResult withSnapshotId(java.lang.String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId - The ID of the new 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.