public static interface CreateContainerRecipeRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateContainerRecipeRequest.Builder,CreateContainerRecipeRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateContainerRecipeRequest.Builder |
clientToken(String clientToken)
The client token used to make this request idempotent.
|
CreateContainerRecipeRequest.Builder |
components(Collection<ComponentConfiguration> components)
Components for build and test that are included in the container recipe.
|
CreateContainerRecipeRequest.Builder |
components(ComponentConfiguration... components)
Components for build and test that are included in the container recipe.
|
CreateContainerRecipeRequest.Builder |
components(Consumer<ComponentConfiguration.Builder>... components)
Components for build and test that are included in the container recipe.
|
CreateContainerRecipeRequest.Builder |
containerType(ContainerType containerType)
The type of container to create.
|
CreateContainerRecipeRequest.Builder |
containerType(String containerType)
The type of container to create.
|
CreateContainerRecipeRequest.Builder |
description(String description)
The description of the container recipe.
|
CreateContainerRecipeRequest.Builder |
dockerfileTemplateData(String dockerfileTemplateData)
The Dockerfile template used to build your image as an inline data blob.
|
CreateContainerRecipeRequest.Builder |
dockerfileTemplateUri(String dockerfileTemplateUri)
The Amazon S3 URI for the Dockerfile that will be used to build your container image.
|
CreateContainerRecipeRequest.Builder |
imageOsVersionOverride(String imageOsVersionOverride)
Specifies the operating system version for the base image.
|
default CreateContainerRecipeRequest.Builder |
instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
A group of options that can be used to configure an instance for building and testing container images.
|
CreateContainerRecipeRequest.Builder |
instanceConfiguration(InstanceConfiguration instanceConfiguration)
A group of options that can be used to configure an instance for building and testing container images.
|
CreateContainerRecipeRequest.Builder |
kmsKeyId(String kmsKeyId)
Identifies which KMS key is used to encrypt the container image.
|
CreateContainerRecipeRequest.Builder |
name(String name)
The name of the container recipe.
|
CreateContainerRecipeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateContainerRecipeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateContainerRecipeRequest.Builder |
parentImage(String parentImage)
The base image for the container recipe.
|
CreateContainerRecipeRequest.Builder |
platformOverride(Platform platformOverride)
Specifies the operating system platform when you use a custom base image.
|
CreateContainerRecipeRequest.Builder |
platformOverride(String platformOverride)
Specifies the operating system platform when you use a custom base image.
|
CreateContainerRecipeRequest.Builder |
semanticVersion(String semanticVersion)
The semantic version of the container recipe.
|
CreateContainerRecipeRequest.Builder |
tags(Map<String,String> tags)
Tags that are attached to the container recipe.
|
default CreateContainerRecipeRequest.Builder |
targetRepository(Consumer<TargetContainerRepository.Builder> targetRepository)
The destination repository for the container image.
|
CreateContainerRecipeRequest.Builder |
targetRepository(TargetContainerRepository targetRepository)
The destination repository for the container image.
|
CreateContainerRecipeRequest.Builder |
workingDirectory(String workingDirectory)
The working directory for use during build and test workflows.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateContainerRecipeRequest.Builder containerType(String containerType)
The type of container to create.
containerType - The type of container to create.ContainerType,
ContainerTypeCreateContainerRecipeRequest.Builder containerType(ContainerType containerType)
The type of container to create.
containerType - The type of container to create.ContainerType,
ContainerTypeCreateContainerRecipeRequest.Builder name(String name)
The name of the container recipe.
name - The name of the container recipe.CreateContainerRecipeRequest.Builder description(String description)
The description of the container recipe.
description - The description of the container recipe.CreateContainerRecipeRequest.Builder semanticVersion(String semanticVersion)
The semantic version of the container recipe. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
semanticVersion - The semantic version of the container recipe. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
CreateContainerRecipeRequest.Builder components(Collection<ComponentConfiguration> components)
Components for build and test that are included in the container recipe.
components - Components for build and test that are included in the container recipe.CreateContainerRecipeRequest.Builder components(ComponentConfiguration... components)
Components for build and test that are included in the container recipe.
components - Components for build and test that are included in the container recipe.CreateContainerRecipeRequest.Builder components(Consumer<ComponentConfiguration.Builder>... components)
Components for build and test that are included in the container recipe.
This is a convenience method that creates an instance of theComponentConfiguration.Builder avoiding the need
to create one manually via
ComponentConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #components(List.
components - a consumer that will call methods on
ComponentConfiguration.Builder#components(java.util.Collection) CreateContainerRecipeRequest.Builder instanceConfiguration(InstanceConfiguration instanceConfiguration)
A group of options that can be used to configure an instance for building and testing container images.
instanceConfiguration - A group of options that can be used to configure an instance for building and testing container
images.default CreateContainerRecipeRequest.Builder instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
A group of options that can be used to configure an instance for building and testing container images.
This is a convenience method that creates an instance of theInstanceConfiguration.Builder avoiding
the need to create one manually via InstanceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to instanceConfiguration(InstanceConfiguration).
instanceConfiguration - a consumer that will call methods on InstanceConfiguration.BuilderinstanceConfiguration(InstanceConfiguration)CreateContainerRecipeRequest.Builder dockerfileTemplateData(String dockerfileTemplateData)
The Dockerfile template used to build your image as an inline data blob.
dockerfileTemplateData - The Dockerfile template used to build your image as an inline data blob.CreateContainerRecipeRequest.Builder dockerfileTemplateUri(String dockerfileTemplateUri)
The Amazon S3 URI for the Dockerfile that will be used to build your container image.
dockerfileTemplateUri - The Amazon S3 URI for the Dockerfile that will be used to build your container image.CreateContainerRecipeRequest.Builder platformOverride(String platformOverride)
Specifies the operating system platform when you use a custom base image.
CreateContainerRecipeRequest.Builder platformOverride(Platform platformOverride)
Specifies the operating system platform when you use a custom base image.
CreateContainerRecipeRequest.Builder imageOsVersionOverride(String imageOsVersionOverride)
Specifies the operating system version for the base image.
imageOsVersionOverride - Specifies the operating system version for the base image.CreateContainerRecipeRequest.Builder parentImage(String parentImage)
The base image for the container recipe.
parentImage - The base image for the container recipe.CreateContainerRecipeRequest.Builder tags(Map<String,String> tags)
Tags that are attached to the container recipe.
tags - Tags that are attached to the container recipe.CreateContainerRecipeRequest.Builder workingDirectory(String workingDirectory)
The working directory for use during build and test workflows.
workingDirectory - The working directory for use during build and test workflows.CreateContainerRecipeRequest.Builder targetRepository(TargetContainerRepository targetRepository)
The destination repository for the container image.
targetRepository - The destination repository for the container image.default CreateContainerRecipeRequest.Builder targetRepository(Consumer<TargetContainerRepository.Builder> targetRepository)
The destination repository for the container image.
This is a convenience method that creates an instance of theTargetContainerRepository.Builder
avoiding the need to create one manually via TargetContainerRepository.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to targetRepository(TargetContainerRepository).
targetRepository - a consumer that will call methods on TargetContainerRepository.BuildertargetRepository(TargetContainerRepository)CreateContainerRecipeRequest.Builder kmsKeyId(String kmsKeyId)
Identifies which KMS key is used to encrypt the container image.
kmsKeyId - Identifies which KMS key is used to encrypt the container image.CreateContainerRecipeRequest.Builder clientToken(String clientToken)
The client token used to make this request idempotent.
clientToken - The client token used to make this request idempotent.CreateContainerRecipeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateContainerRecipeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.