public class DeregisterImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, 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.
NOOP| Constructor and Description |
|---|
DeregisterImageRequest()
Default constructor for a new DeregisterImageRequest object.
|
DeregisterImageRequest(String imageId)
Constructs a new DeregisterImageRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeregisterImageRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DeregisterImageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageId()
The ID of the AMI.
|
int |
hashCode() |
void |
setImageId(String imageId)
The ID of the AMI.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeregisterImageRequest |
withImageId(String imageId)
The ID of the AMI.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeregisterImageRequest()
public DeregisterImageRequest(String imageId)
imageId - The ID of the AMI.public String getImageId()
public void setImageId(String imageId)
imageId - The ID of the AMI.public DeregisterImageRequest withImageId(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 String toString()
toString in class ObjectObject.toString()public DeregisterImageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.