@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, setSdkResponseMetadata
public 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 Object
Object.toString()
public CopyImageResult clone()