Interface DescribeImageAttributeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeImageAttributeResponse.Builder,DescribeImageAttributeResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeImageAttributeResponse.Builder,DescribeImageAttributeResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeImageAttributeResponse
public static interface DescribeImageAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeImageAttributeResponse.Builder,DescribeImageAttributeResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
blockDeviceMappings
DescribeImageAttributeResponse.Builder blockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
The block device mapping entries.
- Parameters:
blockDeviceMappings
- The block device mapping entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
DescribeImageAttributeResponse.Builder blockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
The block device mapping entries.
- Parameters:
blockDeviceMappings
- The block device mapping entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockDeviceMappings
DescribeImageAttributeResponse.Builder blockDeviceMappings(Consumer<BlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mapping entries.
This is a convenience method that creates an instance of theBlockDeviceMapping.Builder
avoiding the need to create one manually viaBlockDeviceMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#blockDeviceMappings(List
.) - Parameters:
blockDeviceMappings
- a consumer that will call methods onBlockDeviceMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#blockDeviceMappings(java.util.Collection
)
-
imageId
DescribeImageAttributeResponse.Builder imageId(String imageId)
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.
-
launchPermissions
DescribeImageAttributeResponse.Builder launchPermissions(Collection<LaunchPermission> launchPermissions)
The launch permissions.
- Parameters:
launchPermissions
- The launch permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchPermissions
DescribeImageAttributeResponse.Builder launchPermissions(LaunchPermission... launchPermissions)
The launch permissions.
- Parameters:
launchPermissions
- The launch permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchPermissions
DescribeImageAttributeResponse.Builder launchPermissions(Consumer<LaunchPermission.Builder>... launchPermissions)
The launch permissions.
This is a convenience method that creates an instance of theLaunchPermission.Builder
avoiding the need to create one manually viaLaunchPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#launchPermissions(List
.) - Parameters:
launchPermissions
- a consumer that will call methods onLaunchPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#launchPermissions(java.util.Collection
)
-
productCodes
DescribeImageAttributeResponse.Builder productCodes(Collection<ProductCode> productCodes)
The product codes.
- Parameters:
productCodes
- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
DescribeImageAttributeResponse.Builder productCodes(ProductCode... productCodes)
The product codes.
- Parameters:
productCodes
- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
DescribeImageAttributeResponse.Builder productCodes(Consumer<ProductCode.Builder>... productCodes)
The product codes.
This is a convenience method that creates an instance of theProductCode.Builder
avoiding the need to create one manually viaProductCode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#productCodes(List
.) - Parameters:
productCodes
- a consumer that will call methods onProductCode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#productCodes(java.util.Collection
)
-
description
DescribeImageAttributeResponse.Builder description(AttributeValue description)
A description for the AMI.
- Parameters:
description
- A description for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
default DescribeImageAttributeResponse.Builder description(Consumer<AttributeValue.Builder> description)
A description for the AMI.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todescription(AttributeValue)
.- Parameters:
description
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
description(AttributeValue)
-
kernelId
DescribeImageAttributeResponse.Builder kernelId(AttributeValue kernelId)
The kernel ID.
- Parameters:
kernelId
- The kernel ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kernelId
default DescribeImageAttributeResponse.Builder kernelId(Consumer<AttributeValue.Builder> kernelId)
The kernel ID.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokernelId(AttributeValue)
.- Parameters:
kernelId
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kernelId(AttributeValue)
-
ramdiskId
DescribeImageAttributeResponse.Builder ramdiskId(AttributeValue ramdiskId)
The RAM disk ID.
- Parameters:
ramdiskId
- The RAM disk ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ramdiskId
default DescribeImageAttributeResponse.Builder ramdiskId(Consumer<AttributeValue.Builder> ramdiskId)
The RAM disk ID.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toramdiskId(AttributeValue)
.- Parameters:
ramdiskId
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ramdiskId(AttributeValue)
-
sriovNetSupport
DescribeImageAttributeResponse.Builder sriovNetSupport(AttributeValue sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
- Parameters:
sriovNetSupport
- Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sriovNetSupport
default DescribeImageAttributeResponse.Builder sriovNetSupport(Consumer<AttributeValue.Builder> sriovNetSupport)
Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosriovNetSupport(AttributeValue)
.- Parameters:
sriovNetSupport
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sriovNetSupport(AttributeValue)
-
bootMode
DescribeImageAttributeResponse.Builder bootMode(AttributeValue bootMode)
The boot mode.
- Parameters:
bootMode
- The boot mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bootMode
default DescribeImageAttributeResponse.Builder bootMode(Consumer<AttributeValue.Builder> bootMode)
The boot mode.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobootMode(AttributeValue)
.- Parameters:
bootMode
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bootMode(AttributeValue)
-
tpmSupport
DescribeImageAttributeResponse.Builder tpmSupport(AttributeValue tpmSupport)
If the image is configured for NitroTPM support, the value is
v2.0
.- Parameters:
tpmSupport
- If the image is configured for NitroTPM support, the value isv2.0
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tpmSupport
default DescribeImageAttributeResponse.Builder tpmSupport(Consumer<AttributeValue.Builder> tpmSupport)
If the image is configured for NitroTPM support, the value is
This is a convenience method that creates an instance of thev2.0
.AttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totpmSupport(AttributeValue)
.- Parameters:
tpmSupport
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tpmSupport(AttributeValue)
-
uefiData
DescribeImageAttributeResponse.Builder uefiData(AttributeValue uefiData)
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
- Parameters:
uefiData
- Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uefiData
default DescribeImageAttributeResponse.Builder uefiData(Consumer<AttributeValue.Builder> uefiData)
Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the python-uefivars tool on GitHub. For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touefiData(AttributeValue)
.- Parameters:
uefiData
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
uefiData(AttributeValue)
-
lastLaunchedTime
DescribeImageAttributeResponse.Builder lastLaunchedTime(AttributeValue lastLaunchedTime)
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.- Parameters:
lastLaunchedTime
- The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.lastLaunchedTime
data is available starting April 2017.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastLaunchedTime
default DescribeImageAttributeResponse.Builder lastLaunchedTime(Consumer<AttributeValue.Builder> lastLaunchedTime)
The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance. When the AMI is used to launch an instance, there is a 24-hour delay before that usage is reported.
lastLaunchedTime
data is available starting April 2017.AttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastLaunchedTime(AttributeValue)
.- Parameters:
lastLaunchedTime
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastLaunchedTime(AttributeValue)
-
imdsSupport
DescribeImageAttributeResponse.Builder imdsSupport(AttributeValue imdsSupport)
If
v2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.- Parameters:
imdsSupport
- Ifv2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imdsSupport
default DescribeImageAttributeResponse.Builder imdsSupport(Consumer<AttributeValue.Builder> imdsSupport)
If
This is a convenience method that creates an instance of thev2.0
, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will haveHttpTokens
automatically set torequired
so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition,HttpPutResponseHopLimit
is set to2
. For more information, see Configure the AMI in the Amazon EC2 User Guide.AttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimdsSupport(AttributeValue)
.- Parameters:
imdsSupport
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
imdsSupport(AttributeValue)
-
-