@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CopyImage.
| Constructor and Description |
|---|
CopyImageResult() |
| Modifier and Type | Method and Description |
|---|---|
CopyImageResult |
clone() |
boolean |
equals(Object obj) |
String |
getImageId()
The ID of the new AMI.
|
int |
hashCode() |
void |
setImageId(String imageId)
The ID of the new AMI.
|
String |
toString()
Returns a string representation of this object.
|
CopyImageResult |
withImageId(String imageId)
The ID of the new AMI.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setImageId(String imageId)
The ID of the new AMI.
imageId - The ID of the new AMI.public String getImageId()
The ID of the new AMI.
public CopyImageResult withImageId(String imageId)
The ID of the new AMI.
imageId - The ID of the new AMI.public String toString()
toString in class ObjectObject.toString()public CopyImageResult clone()