Class DescribeImageAttributeRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeImageAttributeRequest>
,Serializable
,Cloneable
Contains the parameters for DescribeImageAttribute.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DescribeImageAttributeRequest object.DescribeImageAttributeRequest
(String imageId, ImageAttributeName attribute) Constructs a new DescribeImageAttributeRequest object.DescribeImageAttributeRequest
(String imageId, String attribute) Constructs a new DescribeImageAttributeRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The AMI attribute.This method is intended for internal use only.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttribute
(ImageAttributeName attribute) The AMI attribute.withAttribute
(String attribute) The AMI attribute.withImageId
(String imageId) The ID of the AMI.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribeImageAttributeRequest
public DescribeImageAttributeRequest()Default constructor for DescribeImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
DescribeImageAttributeRequest
Constructs a new DescribeImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
imageId
- The ID of the AMI.attribute
- The AMI attribute.Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.
-
DescribeImageAttributeRequest
Constructs a new DescribeImageAttributeRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
imageId
- The ID of the AMI.attribute
- The AMI attribute.Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.
-
-
Method Details
-
setImageId
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.
-
getImageId
The ID of the AMI.
- Returns:
- The ID of the AMI.
-
withImageId
The ID of the AMI.
- Parameters:
imageId
- The ID of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttribute
The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Parameters:
attribute
- The AMI attribute.Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- See Also:
-
getAttribute
The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Returns:
- The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI. - See Also:
-
withAttribute
The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Parameters:
attribute
- The AMI attribute.Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAttribute
The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Parameters:
attribute
- The AMI attribute.Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- See Also:
-
withAttribute
The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Parameters:
attribute
- The AMI attribute.Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeImageAttributeRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-