public class CreateImageResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of CreateImage.
| Constructor and Description |
|---|
CreateImageResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getImageId()
The ID of the new AMI.
|
int |
hashCode() |
void |
setImageId(java.lang.String imageId)
The ID of the new AMI.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateImageResult |
withImageId(java.lang.String imageId)
The ID of the new AMI.
|
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the new AMI.public CreateImageResult withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId - The ID of the new AMI.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object