public class DescribeImageAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeImageAttribute operation.
The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.
| コンストラクタと説明 |
|---|
DescribeImageAttributeRequest()
Default constructor for a new DescribeImageAttributeRequest object.
|
DescribeImageAttributeRequest(java.lang.String imageId,
java.lang.String attribute)
Constructs a new DescribeImageAttributeRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute()
The name of the attribute to describe.
|
java.lang.String |
getImageId()
The ID of the AMI whose attribute is to be described.
|
int |
hashCode() |
void |
setAttribute(java.lang.String attribute)
The name of the attribute to describe.
|
void |
setImageId(java.lang.String imageId)
The ID of the AMI whose attribute is to be described.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeImageAttributeRequest |
withAttribute(java.lang.String attribute)
The name of the attribute to describe.
|
DescribeImageAttributeRequest |
withImageId(java.lang.String imageId)
The ID of the AMI whose attribute is to be described.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeImageAttributeRequest()
public DescribeImageAttributeRequest(java.lang.String imageId,
java.lang.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
public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the AMI whose attribute is to be described.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 whose attribute is to be described.public java.lang.String getAttribute()
Available attribute names:
productCodes, kernel, ramdisk,
launchPermisson, blockDeviceMapping
Available attribute names:
productCodes, kernel, ramdisk,
launchPermisson, blockDeviceMapping
public void setAttribute(java.lang.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(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object