@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) | 
| String | getSnapshotId()
 The ID of the new snapshot. | 
| List<Tag> | getTags()
 Any tags applied to the new snapshot. | 
| int | hashCode() | 
| void | setSnapshotId(String snapshotId)
 The ID of the new snapshot. | 
| void | setTags(Collection<Tag> tags)
 Any tags applied to the new snapshot. | 
| String | toString()Returns a string representation of this object. | 
| CopySnapshotResult | withSnapshotId(String snapshotId)
 The ID of the new snapshot. | 
| CopySnapshotResult | withTags(Collection<Tag> tags)
 Any tags applied to the new snapshot. | 
| CopySnapshotResult | withTags(Tag... tags)
 Any tags applied to 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 List<Tag> getTags()
Any tags applied to the new snapshot.
public void setTags(Collection<Tag> tags)
Any tags applied to the new snapshot.
tags - Any tags applied to the new snapshot.public CopySnapshotResult withTags(Tag... tags)
Any tags applied to the new snapshot.
 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 - Any tags applied to the new snapshot.public CopySnapshotResult withTags(Collection<Tag> tags)
Any tags applied to the new snapshot.
tags - Any tags applied to the new snapshot.public String toString()
toString in class ObjectObject.toString()public CopySnapshotResult clone()