|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeregisterImageRequest
public class DeregisterImageRequest
Container for the parameters to the DeregisterImage operation
.
The DeregisterImage operation deregisters an AMI. Once deregistered, instances of the AMI can no longer be launched.
AmazonEC2.deregisterImage(DeregisterImageRequest)
Constructor Summary | |
---|---|
DeregisterImageRequest()
Default constructor for a new DeregisterImageRequest object. |
|
DeregisterImageRequest(String imageId)
Constructs a new DeregisterImageRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getImageId()
The ID of the AMI to deregister. |
int |
hashCode()
|
void |
setImageId(String imageId)
The ID of the AMI to deregister. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeregisterImageRequest |
withImageId(String imageId)
The ID of the AMI to deregister. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeregisterImageRequest()
public DeregisterImageRequest(String imageId)
imageId
- The ID of the AMI to deregister.Method Detail |
---|
public String getImageId()
public void setImageId(String imageId)
imageId
- The ID of the AMI to deregister.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 to deregister.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |