public static interface CreateImageRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateImageRequest.Builder,CreateImageRequest>
Modifier and Type | Method and Description |
---|---|
CreateImageRequest.Builder |
clientToken(String clientToken)
The idempotency token used to make this request idempotent.
|
CreateImageRequest.Builder |
containerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
|
CreateImageRequest.Builder |
distributionConfigurationArn(String distributionConfigurationArn)
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of
your pipeline.
|
CreateImageRequest.Builder |
enhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)
Collects additional information about the image being created, including the operating system (OS) version
and package list.
|
CreateImageRequest.Builder |
imageRecipeArn(String imageRecipeArn)
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and
assessed.
|
default CreateImageRequest.Builder |
imageTestsConfiguration(Consumer<ImageTestsConfiguration.Builder> imageTestsConfiguration)
The image tests configuration of the image.
|
CreateImageRequest.Builder |
imageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)
The image tests configuration of the image.
|
CreateImageRequest.Builder |
infrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your
image will be built and tested.
|
CreateImageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateImageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateImageRequest.Builder |
tags(Map<String,String> tags)
The tags of the image.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateImageRequest.Builder imageRecipeArn(String imageRecipeArn)
The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
imageRecipeArn
- The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and
assessed.CreateImageRequest.Builder containerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and
tested.CreateImageRequest.Builder distributionConfigurationArn(String distributionConfigurationArn)
The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
distributionConfigurationArn
- The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the
outputs of your pipeline.CreateImageRequest.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in
which your image will be built and tested.CreateImageRequest.Builder imageTestsConfiguration(ImageTestsConfiguration imageTestsConfiguration)
The image tests configuration of the image.
imageTestsConfiguration
- The image tests configuration of the image.default CreateImageRequest.Builder imageTestsConfiguration(Consumer<ImageTestsConfiguration.Builder> imageTestsConfiguration)
The image tests configuration of the image.
This is a convenience that creates an instance of theImageTestsConfiguration.Builder
avoiding the
need to create one manually via ImageTestsConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to imageTestsConfiguration(ImageTestsConfiguration)
.imageTestsConfiguration
- a consumer that will call methods on ImageTestsConfiguration.Builder
imageTestsConfiguration(ImageTestsConfiguration)
CreateImageRequest.Builder enhancedImageMetadataEnabled(Boolean enhancedImageMetadataEnabled)
Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
enhancedImageMetadataEnabled
- Collects additional information about the image being created, including the operating system (OS)
version and package list. This information is used to enhance the overall experience of using EC2
Image Builder. Enabled by default.CreateImageRequest.Builder tags(Map<String,String> tags)
The tags of the image.
tags
- The tags of the image.CreateImageRequest.Builder clientToken(String clientToken)
The idempotency token used to make this request idempotent.
clientToken
- The idempotency token used to make this request idempotent.CreateImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.