public class RegisterImageResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of RegisterImage.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
imageId
The ID of the newly registered AMI.
|
Constructor and Description |
---|
RegisterImageResult() |
Modifier and Type | Method and Description |
---|---|
RegisterImageResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getImageId()
The ID of the newly registered AMI.
|
int |
hashCode() |
void |
setImageId(java.lang.String imageId)
The ID of the newly registered AMI.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterImageResult |
withImageId(java.lang.String imageId)
The ID of the newly registered AMI.
|
public void setImageId(java.lang.String imageId)
The ID of the newly registered AMI.
imageId
- The ID of the newly registered AMI.public java.lang.String getImageId()
The ID of the newly registered AMI.
public RegisterImageResult withImageId(java.lang.String imageId)
The ID of the newly registered AMI.
imageId
- The ID of the newly registered 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 RegisterImageResult clone()
clone
in class java.lang.Object