public static interface ContainerRecipe.Builder extends SdkPojo, CopyableBuilder<ContainerRecipe.Builder,ContainerRecipe>
| Modifier and Type | Method and Description |
|---|---|
ContainerRecipe.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the container recipe.
|
ContainerRecipe.Builder |
components(Collection<ComponentConfiguration> components)
Components for build and test that are included in the container recipe.
|
ContainerRecipe.Builder |
components(ComponentConfiguration... components)
Components for build and test that are included in the container recipe.
|
ContainerRecipe.Builder |
components(Consumer<ComponentConfiguration.Builder>... components)
Components for build and test that are included in the container recipe.
|
ContainerRecipe.Builder |
containerType(ContainerType containerType)
Specifies the type of container, such as Docker.
|
ContainerRecipe.Builder |
containerType(String containerType)
Specifies the type of container, such as Docker.
|
ContainerRecipe.Builder |
dateCreated(String dateCreated)
The date when this container recipe was created.
|
ContainerRecipe.Builder |
description(String description)
The description of the container recipe.
|
ContainerRecipe.Builder |
dockerfileTemplateData(String dockerfileTemplateData)
Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of
the elements required by the application running inside.
|
ContainerRecipe.Builder |
encrypted(Boolean encrypted)
A flag that indicates if the target container is encrypted.
|
default ContainerRecipe.Builder |
instanceConfiguration(Consumer<InstanceConfiguration.Builder> instanceConfiguration)
A group of options that can be used to configure an instance for building and testing container images.
|
ContainerRecipe.Builder |
instanceConfiguration(InstanceConfiguration instanceConfiguration)
A group of options that can be used to configure an instance for building and testing container images.
|
ContainerRecipe.Builder |
kmsKeyId(String kmsKeyId)
Identifies which KMS key is used to encrypt the container image for distribution to the target Region.
|
ContainerRecipe.Builder |
name(String name)
The name of the container recipe.
|
ContainerRecipe.Builder |
owner(String owner)
The owner of the container recipe.
|
ContainerRecipe.Builder |
parentImage(String parentImage)
The source image for the container recipe.
|
ContainerRecipe.Builder |
platform(Platform platform)
The system platform for the container, such as Windows or Linux.
|
ContainerRecipe.Builder |
platform(String platform)
The system platform for the container, such as Windows or Linux.
|
ContainerRecipe.Builder |
tags(Map<String,String> tags)
Tags that are attached to the container recipe.
|
default ContainerRecipe.Builder |
targetRepository(Consumer<TargetContainerRepository.Builder> targetRepository)
The destination repository for the container image.
|
ContainerRecipe.Builder |
targetRepository(TargetContainerRepository targetRepository)
The destination repository for the container image.
|
ContainerRecipe.Builder |
version(String version)
The semantic version of the container recipe (<major>.<minor>.<patch>).
|
ContainerRecipe.Builder |
workingDirectory(String workingDirectory)
The working directory for use during build and test workflows.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContainerRecipe.Builder arn(String arn)
The Amazon Resource Name (ARN) of the container recipe.
arn - The Amazon Resource Name (ARN) of the container recipe.ContainerRecipe.Builder containerType(String containerType)
Specifies the type of container, such as Docker.
containerType - Specifies the type of container, such as Docker.ContainerType,
ContainerTypeContainerRecipe.Builder containerType(ContainerType containerType)
Specifies the type of container, such as Docker.
containerType - Specifies the type of container, such as Docker.ContainerType,
ContainerTypeContainerRecipe.Builder name(String name)
The name of the container recipe.
name - The name of the container recipe.ContainerRecipe.Builder description(String description)
The description of the container recipe.
description - The description of the container recipe.ContainerRecipe.Builder platform(String platform)
The system platform for the container, such as Windows or Linux.
ContainerRecipe.Builder platform(Platform platform)
The system platform for the container, such as Windows or Linux.
ContainerRecipe.Builder owner(String owner)
The owner of the container recipe.
owner - The owner of the container recipe.ContainerRecipe.Builder version(String version)
The semantic version of the container recipe (<major>.<minor>.<patch>).
version - The semantic version of the container recipe (<major>.<minor>.<patch>).ContainerRecipe.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.ContainerRecipe.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.ContainerRecipe.Builder components(Consumer<ComponentConfiguration.Builder>... components)
Components for build and test that are included in the container recipe.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #components(List) .components - a consumer that will call methods on List.Builder #components(List) ContainerRecipe.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 ContainerRecipe.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 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)ContainerRecipe.Builder dockerfileTemplateData(String dockerfileTemplateData)
Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
dockerfileTemplateData - Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain
all of the elements required by the application running inside. The template data consists of
contextual variables where Image Builder places build information or scripts, based on your container
image recipe.ContainerRecipe.Builder kmsKeyId(String kmsKeyId)
Identifies which KMS key is used to encrypt the container image for distribution to the target Region.
kmsKeyId - Identifies which KMS key is used to encrypt the container image for distribution to the target Region.ContainerRecipe.Builder encrypted(Boolean encrypted)
A flag that indicates if the target container is encrypted.
encrypted - A flag that indicates if the target container is encrypted.ContainerRecipe.Builder parentImage(String parentImage)
The source image for the container recipe.
parentImage - The source image for the container recipe.ContainerRecipe.Builder dateCreated(String dateCreated)
The date when this container recipe was created.
dateCreated - The date when this container recipe was created.ContainerRecipe.Builder tags(Map<String,String> tags)
Tags that are attached to the container recipe.
tags - Tags that are attached to the container recipe.ContainerRecipe.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.ContainerRecipe.Builder targetRepository(TargetContainerRepository targetRepository)
The destination repository for the container image.
targetRepository - The destination repository for the container image.default ContainerRecipe.Builder targetRepository(Consumer<TargetContainerRepository.Builder> targetRepository)
The destination repository for the container image.
This is a convenience 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)Copyright © 2021. All rights reserved.