@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of RegisterImage.
Constructor and Description |
---|
RegisterImageResult() |
Modifier and Type | Method and Description |
---|---|
RegisterImageResult |
clone() |
boolean |
equals(Object obj) |
String |
getImageId()
The ID of the newly registered AMI.
|
int |
hashCode() |
void |
setImageId(String imageId)
The ID of the newly registered AMI.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterImageResult |
withImageId(String imageId)
The ID of the newly registered AMI.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImageId(String imageId)
The ID of the newly registered AMI.
imageId
- The ID of the newly registered AMI.public String getImageId()
The ID of the newly registered AMI.
public RegisterImageResult withImageId(String imageId)
The ID of the newly registered AMI.
imageId
- The ID of the newly registered AMI.public String toString()
toString
in class Object
Object.toString()
public RegisterImageResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.