public class CreateImageResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of CreateImage.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
imageId
The ID of the new AMI.
|
Constructor and Description |
---|
CreateImageResult() |
Modifier and Type | Method and Description |
---|---|
CreateImageResult |
clone() |
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 void setImageId(java.lang.String imageId)
The ID of the new AMI.
imageId
- The ID of the new AMI.public java.lang.String getImageId()
The ID of the new AMI.
public CreateImageResult withImageId(java.lang.String imageId)
The ID of the new AMI.
imageId
- The ID of the new AMI.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateImageResult clone()
clone
in class java.lang.Object