Class Component.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.Component.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Component>
- Enclosing class:
Component
@Stability(Experimental)
public static final class Component.Builder
extends Object
implements software.amazon.jsii.Builder<Component>
(experimental) A fluent builder for
Component.-
Method Summary
Modifier and TypeMethodDescriptionbuild()changeDescription(String changeDescription) (experimental) The change description of the component.componentName(String componentName) (experimental) The name of the component.componentVersion(String componentVersion) (experimental) The version of the component.static Component.Builderdata(ComponentData data) (experimental) The component document content that defines the build, validation, or test steps to be executed during the image building process.description(String description) (experimental) The description of the component.(experimental) The KMS key used to encrypt this component.(experimental) The operating system platform of the component.supportedOsVersions(List<? extends OSVersion> supportedOsVersions) (experimental) The operating system versions supported by the component.(experimental) The tags to apply to the component.
-
Method Details
-
create
@Stability(Experimental) public static Component.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
Component.Builder.
-
data
(experimental) The component document content that defines the build, validation, or test steps to be executed during the image building process.- Parameters:
data- The component document content that defines the build, validation, or test steps to be executed during the image building process. This parameter is required.- Returns:
this
-
platform
(experimental) The operating system platform of the component.- Parameters:
platform- The operating system platform of the component. This parameter is required.- Returns:
this
-
changeDescription
(experimental) The change description of the component.Describes what change has been made in this version of the component, or what makes this version different from other versions.
Default: None
- Parameters:
changeDescription- The change description of the component. This parameter is required.- Returns:
this
-
componentName
(experimental) The name of the component.Default: - a name is generated
- Parameters:
componentName- The name of the component. This parameter is required.- Returns:
this
-
componentVersion
(experimental) The version of the component.Default: 1.0.0
- Parameters:
componentVersion- The version of the component. This parameter is required.- Returns:
this
-
description
(experimental) The description of the component.Default: None
- Parameters:
description- The description of the component. This parameter is required.- Returns:
this
-
kmsKey
(experimental) The KMS key used to encrypt this component.Default: - an Image Builder owned key will be used to encrypt the component.
- Parameters:
kmsKey- The KMS key used to encrypt this component. This parameter is required.- Returns:
this
-
supportedOsVersions
@Stability(Experimental) public Component.Builder supportedOsVersions(List<? extends OSVersion> supportedOsVersions) (experimental) The operating system versions supported by the component.Default: None
- Parameters:
supportedOsVersions- The operating system versions supported by the component. This parameter is required.- Returns:
this
-
tags
(experimental) The tags to apply to the component.Default: None
- Parameters:
tags- The tags to apply to the component. This parameter is required.- Returns:
this
-
build
-