public class RegisterImageResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of RegisterImage.
Constructor and Description |
---|
RegisterImageResult() |
Modifier and Type | Method and Description |
---|---|
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 java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId
- The ID of the newly registered AMI.public RegisterImageResult withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId
- The ID of the newly registered AMI.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.