@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopySnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CopySnapshot.
| Constructor and Description |
|---|
CopySnapshotResult() |
| Modifier and Type | Method and Description |
|---|---|
CopySnapshotResult |
clone() |
boolean |
equals(Object obj) |
String |
getSnapshotId()
The ID of the new snapshot.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the new snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CopySnapshotResult |
withSnapshotId(String snapshotId)
The ID of the new snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSnapshotId(String snapshotId)
The ID of the new snapshot.
snapshotId - The ID of the new snapshot.public String getSnapshotId()
The ID of the new snapshot.
public CopySnapshotResult withSnapshotId(String snapshotId)
The ID of the new snapshot.
snapshotId - The ID of the new snapshot.public String toString()
toString in class ObjectObject.toString()public CopySnapshotResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.