public static interface ImageRecipe.Builder extends SdkPojo, CopyableBuilder<ImageRecipe.Builder,ImageRecipe>
| Modifier and Type | Method and Description |
|---|---|
ImageRecipe.Builder |
additionalInstanceConfiguration(AdditionalInstanceConfiguration additionalInstanceConfiguration)
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your
image configuration.
|
default ImageRecipe.Builder |
additionalInstanceConfiguration(Consumer<AdditionalInstanceConfiguration.Builder> additionalInstanceConfiguration)
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your
image configuration.
|
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 base 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, sdkFieldscopyapplyMutation, buildImageRecipe.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 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) ImageRecipe.Builder parentImage(String parentImage)
The base image of the image recipe.
parentImage - The base 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 method that creates an instance of theInstanceBlockDeviceMapping.Builder avoiding the
need to create one manually via
InstanceBlockDeviceMapping.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #blockDeviceMappings(List.
blockDeviceMappings - a consumer that will call methods on
InstanceBlockDeviceMapping.Builder#blockDeviceMappings(java.util.Collection) 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.ImageRecipe.Builder additionalInstanceConfiguration(AdditionalInstanceConfiguration additionalInstanceConfiguration)
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.
additionalInstanceConfiguration - Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test
your image configuration. Instance configuration adds a layer of control over those instances. You can
define settings and add scripts to run when an instance is launched from your AMI.default ImageRecipe.Builder additionalInstanceConfiguration(Consumer<AdditionalInstanceConfiguration.Builder> additionalInstanceConfiguration)
Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.
This is a convenience method that creates an instance of theAdditionalInstanceConfiguration.Builder
avoiding the need to create one manually via AdditionalInstanceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
additionalInstanceConfiguration(AdditionalInstanceConfiguration).
additionalInstanceConfiguration - a consumer that will call methods on AdditionalInstanceConfiguration.BuilderadditionalInstanceConfiguration(AdditionalInstanceConfiguration)Copyright © 2022. All rights reserved.