public static interface ImageRecipe.Builder extends SdkPojo, CopyableBuilder<ImageRecipe.Builder,ImageRecipe>
Modifier and Type | Method and Description |
---|---|
ImageRecipe.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the image recipe.
|
ImageRecipe.Builder |
blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
ImageRecipe.Builder |
blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
ImageRecipe.Builder |
blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
|
ImageRecipe.Builder |
components(Collection<ComponentConfiguration> components)
The components of the image recipe.
|
ImageRecipe.Builder |
components(ComponentConfiguration... components)
The components of the image recipe.
|
ImageRecipe.Builder |
components(Consumer<ComponentConfiguration.Builder>... components)
The components of the image recipe.
|
ImageRecipe.Builder |
dateCreated(String dateCreated)
The date on which this image recipe was created.
|
ImageRecipe.Builder |
description(String description)
The description of the image recipe.
|
ImageRecipe.Builder |
name(String name)
The name of the image recipe.
|
ImageRecipe.Builder |
owner(String owner)
The owner of the image recipe.
|
ImageRecipe.Builder |
parentImage(String parentImage)
The parent image of the image recipe.
|
ImageRecipe.Builder |
platform(Platform platform)
The platform of the image recipe.
|
ImageRecipe.Builder |
platform(String platform)
The platform of the image recipe.
|
ImageRecipe.Builder |
tags(Map<String,String> tags)
The tags of the image recipe.
|
ImageRecipe.Builder |
type(ImageType type)
Specifies which type of image is created by the recipe - an AMI or a container image.
|
ImageRecipe.Builder |
type(String type)
Specifies which type of image is created by the recipe - an AMI or a container image.
|
ImageRecipe.Builder |
version(String version)
The version of the image recipe.
|
ImageRecipe.Builder |
workingDirectory(String workingDirectory)
The working directory to be used during build and test workflows.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ImageRecipe.Builder arn(String arn)
The Amazon Resource Name (ARN) of the image recipe.
arn
- The Amazon Resource Name (ARN) of the image recipe.ImageRecipe.Builder type(String type)
Specifies which type of image is created by the recipe - an AMI or a container image.
ImageRecipe.Builder type(ImageType type)
Specifies which type of image is created by the recipe - an AMI or a container image.
ImageRecipe.Builder name(String name)
The name of the image recipe.
name
- The name of the image recipe.ImageRecipe.Builder description(String description)
The description of the image recipe.
description
- The description of the image recipe.ImageRecipe.Builder platform(String platform)
The platform of the image recipe.
ImageRecipe.Builder platform(Platform platform)
The platform of the image recipe.
ImageRecipe.Builder owner(String owner)
The owner of the image recipe.
owner
- The owner of the image recipe.ImageRecipe.Builder version(String version)
The version of the image recipe.
version
- The version of the image recipe.ImageRecipe.Builder components(Collection<ComponentConfiguration> components)
The components of the image recipe.
components
- The components of the image recipe.ImageRecipe.Builder components(ComponentConfiguration... components)
The components of the image recipe.
components
- The components of the image recipe.ImageRecipe.Builder components(Consumer<ComponentConfiguration.Builder>... components)
The components of the image 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)
ImageRecipe.Builder parentImage(String parentImage)
The parent image of the image recipe.
parentImage
- The parent image of the image recipe.ImageRecipe.Builder blockDeviceMappings(Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
blockDeviceMappings
- The block device mappings to apply when creating images from this recipe.ImageRecipe.Builder blockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
The block device mappings to apply when creating images from this recipe.
blockDeviceMappings
- The block device mappings to apply when creating images from this recipe.ImageRecipe.Builder blockDeviceMappings(Consumer<InstanceBlockDeviceMapping.Builder>... blockDeviceMappings)
The block device mappings to apply when creating images from this 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 #blockDeviceMappings(List)
.blockDeviceMappings
- a consumer that will call methods on List.Builder
#blockDeviceMappings(List)
ImageRecipe.Builder dateCreated(String dateCreated)
The date on which this image recipe was created.
dateCreated
- The date on which this image recipe was created.ImageRecipe.Builder tags(Map<String,String> tags)
The tags of the image recipe.
tags
- The tags of the image recipe.ImageRecipe.Builder workingDirectory(String workingDirectory)
The working directory to be used during build and test workflows.
workingDirectory
- The working directory to be used during build and test workflows.