Interface DescribeImageAttributeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeImageAttributeResponse.Builder,
,DescribeImageAttributeResponse> Ec2Response.Builder
,SdkBuilder<DescribeImageAttributeResponse.Builder,
,DescribeImageAttributeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeImageAttributeResponse
-
Method Summary
Modifier and TypeMethodDescriptionblockDeviceMappings
(Collection<BlockDeviceMapping> blockDeviceMappings) The block device mapping entries.blockDeviceMappings
(Consumer<BlockDeviceMapping.Builder>... blockDeviceMappings) The block device mapping entries.blockDeviceMappings
(BlockDeviceMapping... blockDeviceMappings) The block device mapping entries.bootMode
(Consumer<AttributeValue.Builder> bootMode) The boot mode.bootMode
(AttributeValue bootMode) The boot mode.description
(Consumer<AttributeValue.Builder> description) A description for the AMI.description
(AttributeValue description) A description for the AMI.The ID of the AMI.imdsSupport
(Consumer<AttributeValue.Builder> imdsSupport) Ifv2.0
, it indicates that IMDSv2 is specified in the AMI.imdsSupport
(AttributeValue imdsSupport) Ifv2.0
, it indicates that IMDSv2 is specified in the AMI.kernelId
(Consumer<AttributeValue.Builder> kernelId) The kernel ID.kernelId
(AttributeValue kernelId) The kernel ID.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.lastLaunchedTime
(AttributeValue lastLaunchedTime) The date and time, in ISO 8601 date-time format, when the AMI was last used to launch an EC2 instance.launchPermissions
(Collection<LaunchPermission> launchPermissions) The launch permissions.launchPermissions
(Consumer<LaunchPermission.Builder>... launchPermissions) The launch permissions.launchPermissions
(LaunchPermission... launchPermissions) The launch permissions.productCodes
(Collection<ProductCode> productCodes) The product codes.productCodes
(Consumer<ProductCode.Builder>... productCodes) The product codes.productCodes
(ProductCode... productCodes) The product codes.ramdiskId
(Consumer<AttributeValue.Builder> ramdiskId) The RAM disk ID.ramdiskId
(AttributeValue ramdiskId) The RAM disk ID.sriovNetSupport
(Consumer<AttributeValue.Builder> sriovNetSupport) Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.sriovNetSupport
(AttributeValue sriovNetSupport) Indicates whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.tpmSupport
(Consumer<AttributeValue.Builder> tpmSupport) If the image is configured for NitroTPM support, the value isv2.0
.tpmSupport
(AttributeValue tpmSupport) If the image is configured for NitroTPM support, the value isv2.0
.uefiData
(Consumer<AttributeValue.Builder> uefiData) Base64 representation of the non-volatile UEFI variable store.uefiData
(AttributeValue uefiData) Base64 representation of the non-volatile UEFI variable store.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 Details
-
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 toblockDeviceMappings(List<BlockDeviceMapping>)
.- 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:
-
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
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 tolaunchPermissions(List<LaunchPermission>)
.- 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:
-
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
The product codes.
- Parameters:
productCodes
- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 toproductCodes(List<ProductCode>)
.- 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:
-
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:
-
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
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:
-
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:
-
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:
-
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
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:
-
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:
-
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
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:
-
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:
-
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:
-