@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.
|
List<Tag> |
getTags() |
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the new snapshot.
|
void |
setTags(Collection<Tag> tags) |
String |
toString()
Returns a string representation of this object.
|
CopySnapshotResult |
withSnapshotId(String snapshotId)
The ID of the new snapshot.
|
CopySnapshotResult |
withTags(Collection<Tag> tags) |
CopySnapshotResult |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
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 void setTags(Collection<Tag> tags)
tags - public CopySnapshotResult withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - public CopySnapshotResult withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CopySnapshotResult clone()
Copyright © 2019. All rights reserved.