|
||||||||||
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
A request to describe an Amazon Machine Image (AMI) attribute. Only one attribute may be described per request.
Constructor Summary | |
---|---|
DescribeImageAttributeRequest()
|
Method Summary | |
---|---|
String |
getAttribute()
The name of the attribute to describe. |
String |
getImageId()
The ID of the AMI whose attribute is to be described. |
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()
|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeImageAttributeRequest()
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 Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |