public static interface DescribeImageAttributeRequest.Builder extends EC2Request.Builder, CopyableBuilder<DescribeImageAttributeRequest.Builder,DescribeImageAttributeRequest>
Modifier and Type | Method and Description |
---|---|
DescribeImageAttributeRequest.Builder |
attribute(ImageAttributeName attribute)
The AMI attribute.
|
DescribeImageAttributeRequest.Builder |
attribute(String attribute)
The AMI attribute.
|
DescribeImageAttributeRequest.Builder |
imageId(String imageId)
The ID of the AMI.
|
DescribeImageAttributeRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DescribeImageAttributeRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
DescribeImageAttributeRequest.Builder attribute(String attribute)
The AMI attribute.
Note: Depending on your account privileges, the blockDeviceMapping
attribute may return a
Client.AuthFailure
error. If this happens, use DescribeImages to get information about
the block device mapping for the AMI.
attribute
- The AMI attribute.
Note: Depending on your account privileges, the blockDeviceMapping
attribute may
return a Client.AuthFailure
error. If this happens, use DescribeImages to get
information about the block device mapping for the AMI.
ImageAttributeName
,
ImageAttributeName
DescribeImageAttributeRequest.Builder attribute(ImageAttributeName attribute)
The AMI attribute.
Note: Depending on your account privileges, the blockDeviceMapping
attribute may return a
Client.AuthFailure
error. If this happens, use DescribeImages to get information about
the block device mapping for the AMI.
attribute
- The AMI attribute.
Note: Depending on your account privileges, the blockDeviceMapping
attribute may
return a Client.AuthFailure
error. If this happens, use DescribeImages to get
information about the block device mapping for the AMI.
ImageAttributeName
,
ImageAttributeName
DescribeImageAttributeRequest.Builder imageId(String imageId)
The ID of the AMI.
imageId
- The ID of the AMI.DescribeImageAttributeRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DescribeImageAttributeRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.