|
|||||||
| 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.DescribeImageAttributeRequest
public class DescribeImageAttributeRequest
Container for the parameters to the DescribeImageAttribute operation.
Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.
AmazonEC2.describeImageAttribute(DescribeImageAttributeRequest),
Serialized Form| Constructor Summary | |
|---|---|
DescribeImageAttributeRequest()
Default constructor for a new DescribeImageAttributeRequest object. |
|
DescribeImageAttributeRequest(java.lang.String imageId,
ImageAttributeName attribute)
Constructs a new DescribeImageAttributeRequest object. |
|
DescribeImageAttributeRequest(java.lang.String imageId,
java.lang.String attribute)
Constructs a new DescribeImageAttributeRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAttribute()
The AMI attribute. |
Request<DescribeImageAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getImageId()
The ID of the AMI. |
int |
hashCode()
|
void |
setAttribute(ImageAttributeName attribute)
The AMI attribute. |
void |
setAttribute(java.lang.String attribute)
The AMI attribute. |
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. |
DescribeImageAttributeRequest |
withAttribute(ImageAttributeName attribute)
The AMI attribute. |
DescribeImageAttributeRequest |
withAttribute(java.lang.String attribute)
The AMI attribute. |
DescribeImageAttributeRequest |
withImageId(java.lang.String imageId)
The ID of the AMI. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DescribeImageAttributeRequest()
public DescribeImageAttributeRequest(java.lang.String imageId,
java.lang.String attribute)
imageId - The ID of the AMI.attribute - The AMI attribute.
public DescribeImageAttributeRequest(java.lang.String imageId,
ImageAttributeName attribute)
imageId - The ID of the AMI.attribute - The AMI attribute.| Method Detail |
|---|
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the AMI.public DescribeImageAttributeRequest 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 java.lang.String getAttribute()
Constraints:
Allowed Values: description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping
ImageAttributeNamepublic void setAttribute(java.lang.String attribute)
Constraints:
Allowed Values: description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping
attribute - The AMI attribute.ImageAttributeNamepublic DescribeImageAttributeRequest withAttribute(java.lang.String attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping
attribute - The AMI attribute.
ImageAttributeNamepublic void setAttribute(ImageAttributeName attribute)
Constraints:
Allowed Values: description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping
attribute - The AMI attribute.ImageAttributeNamepublic DescribeImageAttributeRequest withAttribute(ImageAttributeName attribute)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping
attribute - The AMI attribute.
ImageAttributeNamepublic Request<DescribeImageAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeImageAttributeRequest>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.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||