@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeregisterImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeregisterImageRequest>
Contains the parameters for DeregisterImage.
NOOP
Constructor and Description |
---|
DeregisterImageRequest()
Default constructor for DeregisterImageRequest object.
|
DeregisterImageRequest(String imageId)
Constructs a new DeregisterImageRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeregisterImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
DeregisterImageRequest |
withImageId(String imageId)
The ID of the AMI.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeregisterImageRequest()
public DeregisterImageRequest(String imageId)
imageId
- The ID of the AMI.public void setImageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.public String getImageId()
The ID of the AMI.
public DeregisterImageRequest withImageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.public Request<DeregisterImageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeregisterImageRequest>
public String toString()
toString
in class Object
Object.toString()
public DeregisterImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()