public static interface Component.Builder extends SdkPojo, CopyableBuilder<Component.Builder,Component>
| Modifier and Type | Method and Description |
|---|---|
Component.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the component.
|
Component.Builder |
changeDescription(String changeDescription)
The change description of the component.
|
Component.Builder |
data(String data)
Component data contains the YAML document content for the component.
|
Component.Builder |
dateCreated(String dateCreated)
The date that Image Builder created the component.
|
Component.Builder |
description(String description)
The description of the component.
|
Component.Builder |
encrypted(Boolean encrypted)
The encryption status of the component.
|
Component.Builder |
kmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the component.
|
Component.Builder |
name(String name)
The name of the component.
|
Component.Builder |
obfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for
API, CLI, or SDK operations.
|
Component.Builder |
owner(String owner)
The owner of the component.
|
Component.Builder |
parameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that the component document defined for the component.
|
Component.Builder |
parameters(ComponentParameterDetail... parameters)
Contains parameter details for each of the parameters that the component document defined for the component.
|
Component.Builder |
parameters(Consumer<ComponentParameterDetail.Builder>... parameters)
Contains parameter details for each of the parameters that the component document defined for the component.
|
Component.Builder |
platform(Platform platform)
The operating system platform of the component.
|
Component.Builder |
platform(String platform)
The operating system platform of the component.
|
Component.Builder |
publisher(String publisher)
Contains the name of the publisher if this is a third-party component.
|
Component.Builder |
state(ComponentState state)
Describes the current status of the component.
|
default Component.Builder |
state(Consumer<ComponentState.Builder> state)
Describes the current status of the component.
|
Component.Builder |
supportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component.
|
Component.Builder |
supportedOsVersions(String... supportedOsVersions)
The operating system (OS) version supported by the component.
|
Component.Builder |
tags(Map<String,String> tags)
The tags that apply to the component.
|
Component.Builder |
type(ComponentType type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
|
Component.Builder |
type(String type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
|
Component.Builder |
version(String version)
The version of the component.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponent.Builder arn(String arn)
The Amazon Resource Name (ARN) of the component.
arn - The Amazon Resource Name (ARN) of the component.Component.Builder name(String name)
The name of the component.
name - The name of the component.Component.Builder version(String version)
The version of the component.
version - The version of the component.Component.Builder description(String description)
The description of the component.
description - The description of the component.Component.Builder changeDescription(String changeDescription)
The change description of the component.
changeDescription - The change description of the component.Component.Builder type(String type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
type - The component type specifies whether Image Builder uses the component to build the image or only to
test it.ComponentType,
ComponentTypeComponent.Builder type(ComponentType type)
The component type specifies whether Image Builder uses the component to build the image or only to test it.
type - The component type specifies whether Image Builder uses the component to build the image or only to
test it.ComponentType,
ComponentTypeComponent.Builder platform(String platform)
The operating system platform of the component.
Component.Builder platform(Platform platform)
The operating system platform of the component.
Component.Builder supportedOsVersions(Collection<String> supportedOsVersions)
The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
supportedOsVersions - The operating system (OS) version supported by the component. If the OS information is available,
Image Builder performs a prefix match against the base image OS version during image recipe creation.Component.Builder supportedOsVersions(String... supportedOsVersions)
The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
supportedOsVersions - The operating system (OS) version supported by the component. If the OS information is available,
Image Builder performs a prefix match against the base image OS version during image recipe creation.Component.Builder state(ComponentState state)
Describes the current status of the component. This is used for components that are no longer active.
state - Describes the current status of the component. This is used for components that are no longer active.default Component.Builder state(Consumer<ComponentState.Builder> state)
Describes the current status of the component. This is used for components that are no longer active.
This is a convenience method that creates an instance of theComponentState.Builder avoiding the need
to create one manually via ComponentState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to state(ComponentState).
state - a consumer that will call methods on ComponentState.Builderstate(ComponentState)Component.Builder parameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that the component document defined for the component.
parameters - Contains parameter details for each of the parameters that the component document defined for the
component.Component.Builder parameters(ComponentParameterDetail... parameters)
Contains parameter details for each of the parameters that the component document defined for the component.
parameters - Contains parameter details for each of the parameters that the component document defined for the
component.Component.Builder parameters(Consumer<ComponentParameterDetail.Builder>... parameters)
Contains parameter details for each of the parameters that the component document defined for the component.
This is a convenience method that creates an instance of theComponentParameterDetail.Builder avoiding the need
to create one manually via
ComponentParameterDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #parameters(List.
parameters - a consumer that will call methods on
ComponentParameterDetail.Builder#parameters(java.util.Collection) Component.Builder owner(String owner)
The owner of the component.
owner - The owner of the component.Component.Builder data(String data)
Component data contains the YAML document content for the component.
data - Component data contains the YAML document content for the component.Component.Builder kmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the component.
kmsKeyId - The KMS key identifier used to encrypt the component.Component.Builder encrypted(Boolean encrypted)
The encryption status of the component.
encrypted - The encryption status of the component.Component.Builder dateCreated(String dateCreated)
The date that Image Builder created the component.
dateCreated - The date that Image Builder created the component.Component.Builder tags(Map<String,String> tags)
The tags that apply to the component.
tags - The tags that apply to the component.Component.Builder publisher(String publisher)
Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
publisher - Contains the name of the publisher if this is a third-party component. Otherwise, this property is
empty.Component.Builder obfuscate(Boolean obfuscate)
Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
obfuscate - Indicates whether component source is hidden from view in the console, and from component detail
results for API, CLI, or SDK operations.Copyright © 2023. All rights reserved.