@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of CreateImage.
Constructor and Description |
---|
CreateImageResult() |
Modifier and Type | Method and Description |
---|---|
CreateImageResult |
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; useful for testing and debugging.
|
CreateImageResult |
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 CreateImageResult 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 CreateImageResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.