@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImageAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeImageAttributeRequest>
Contains the parameters for DescribeImageAttribute.
NOOP| Constructor and Description |
|---|
DescribeImageAttributeRequest()
Default constructor for DescribeImageAttributeRequest object.
|
DescribeImageAttributeRequest(String imageId,
ImageAttributeName attribute)
Constructs a new DescribeImageAttributeRequest object.
|
DescribeImageAttributeRequest(String imageId,
String attribute)
Constructs a new DescribeImageAttributeRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DescribeImageAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The AMI attribute.
|
Request<DescribeImageAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getImageId()
The ID of the AMI.
|
int |
hashCode() |
void |
setAttribute(ImageAttributeName attribute)
The AMI attribute.
|
void |
setAttribute(String attribute)
The AMI attribute.
|
void |
setImageId(String imageId)
The ID of the AMI.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImageAttributeRequest |
withAttribute(ImageAttributeName attribute)
The AMI attribute.
|
DescribeImageAttributeRequest |
withAttribute(String attribute)
The AMI attribute.
|
DescribeImageAttributeRequest |
withImageId(String imageId)
The ID of the AMI.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DescribeImageAttributeRequest()
public DescribeImageAttributeRequest(String imageId, String attribute)
imageId - The ID of the AMI.attribute - The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use
the DescribeImages action.
public DescribeImageAttributeRequest(String imageId, ImageAttributeName attribute)
imageId - The ID of the AMI.attribute - The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use
the DescribeImages action.
public void setAttribute(String attribute)
The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use the
DescribeImages action.
attribute - The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use
the DescribeImages action.
ImageAttributeNamepublic String getAttribute()
The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use the
DescribeImages action.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns
the Client.AuthFailure error. To get information about the block device mappings for an AMI,
use the DescribeImages action.
ImageAttributeNamepublic DescribeImageAttributeRequest withAttribute(String attribute)
The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use the
DescribeImages action.
attribute - The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use
the DescribeImages action.
ImageAttributeNamepublic void setAttribute(ImageAttributeName attribute)
The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use the
DescribeImages action.
attribute - The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use
the DescribeImages action.
ImageAttributeNamepublic DescribeImageAttributeRequest withAttribute(ImageAttributeName attribute)
The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use the
DescribeImages action.
attribute - The AMI attribute.
Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the
Client.AuthFailure error. To get information about the block device mappings for an AMI, use
the DescribeImages action.
ImageAttributeNamepublic void setImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public String getImageId()
The ID of the AMI.
public DescribeImageAttributeRequest withImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public Request<DescribeImageAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeImageAttributeRequest>public String toString()
toString in class ObjectObject.toString()public DescribeImageAttributeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()