public class DeregisterImageRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DeregisterImageRequest>
DeregisterImage operation.
Deregisters the specified AMI. After you deregister an AMI, it can't be used to launch new instances.
This command does not delete the AMI.
| Constructor and Description |
|---|
DeregisterImageRequest()
Default constructor for a new DeregisterImageRequest object.
|
DeregisterImageRequest(java.lang.String imageId)
Constructs a new DeregisterImageRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Request<DeregisterImageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getImageId()
The ID of the AMI.
|
int |
hashCode() |
void |
setImageId(java.lang.String imageId)
The ID of the AMI.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeregisterImageRequest |
withImageId(java.lang.String imageId)
The ID of the AMI.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeregisterImageRequest()
public DeregisterImageRequest(java.lang.String imageId)
imageId - The ID of the AMI.public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the AMI.public DeregisterImageRequest withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId - The ID of the AMI.public Request<DeregisterImageRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeregisterImageRequest>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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.