| 
 | |||||||
| 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.
 
The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.
AmazonEC2.describeImageAttribute(DescribeImageAttributeRequest)| Constructor Summary | |
|---|---|
| DescribeImageAttributeRequest()Default constructor for a new DescribeImageAttributeRequest object. | |
| DescribeImageAttributeRequest(String imageId,
                              String attribute)Constructs a new DescribeImageAttributeRequest object. | |
| Method Summary | |
|---|---|
|  boolean | equals(Object obj) | 
|  String | getAttribute()The name of the attribute to describe. | 
|  String | getImageId()The ID of the AMI whose attribute is to be described. | 
|  int | hashCode() | 
|  void | setAttribute(String attribute)The name of the attribute to describe. | 
|  void | setImageId(String imageId)The ID of the AMI whose attribute is to be described. | 
|  String | toString()Returns a string representation of this object; useful for testing and debugging. | 
|  DescribeImageAttributeRequest | withAttribute(String attribute)The name of the attribute to describe. | 
|  DescribeImageAttributeRequest | withImageId(String imageId)The ID of the AMI whose attribute is to be described. | 
| 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 DescribeImageAttributeRequest()
public DescribeImageAttributeRequest(String imageId,
                                     String attribute)
imageId - The ID of the AMI whose attribute is to be described.attribute - The name of the attribute to describe.  Available
 attribute names: productCodes, kernel,
 ramdisk, launchPermisson,
 blockDeviceMapping
| Method Detail | 
|---|
public String getImageId()
public void setImageId(String imageId)
imageId - The ID of the AMI whose attribute is to be described.public DescribeImageAttributeRequest withImageId(String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId - The ID of the AMI whose attribute is to be described.
public String getAttribute()
 Available attribute names:
 productCodes, kernel, ramdisk,
 launchPermisson, blockDeviceMapping
 Available attribute names:
         productCodes, kernel, ramdisk,
         launchPermisson, blockDeviceMapping
public void setAttribute(String attribute)
 Available attribute names:
 productCodes, kernel, ramdisk,
 launchPermisson, blockDeviceMapping
attribute - The name of the attribute to describe.  Available attribute names:
         productCodes, kernel, ramdisk,
         launchPermisson, blockDeviceMapping
public DescribeImageAttributeRequest withAttribute(String attribute)
 Available attribute names:
 productCodes, kernel, ramdisk,
 launchPermisson, blockDeviceMapping
 
Returns a reference to this object so that method calls can be chained together.
attribute - The name of the attribute to describe.  Available attribute names:
         productCodes, kernel, ramdisk,
         launchPermisson, blockDeviceMapping
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object| 
 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||