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 the component was created.
|
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 |
owner(String owner)
The owner of the component.
|
Component.Builder |
parameters(Collection<ComponentParameterDetail> parameters)
Contains parameter details for each of the parameters that are defined for the component.
|
Component.Builder |
parameters(ComponentParameterDetail... parameters)
Contains parameter details for each of the parameters that are defined for the component.
|
Component.Builder |
parameters(Consumer<ComponentParameterDetail.Builder>... parameters)
Contains parameter details for each of the parameters that are defined for the component.
|
Component.Builder |
platform(Platform platform)
The platform of the component.
|
Component.Builder |
platform(String platform)
The platform of the 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 associated with the component.
|
Component.Builder |
type(ComponentType type)
The type of the component denotes whether the component is used to build the image or only to test it.
|
Component.Builder |
type(String type)
The type of the component denotes whether the component is used 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 type of the component denotes whether the component is used to build the image or only to test it.
type - The type of the component denotes whether the component is used to build the image or only to test it.ComponentType,
ComponentTypeComponent.Builder type(ComponentType type)
The type of the component denotes whether the component is used to build the image or only to test it.
type - The type of the component denotes whether the component is used to build the image or only to test it.ComponentType,
ComponentTypeComponent.Builder platform(String platform)
The platform of the component.
Component.Builder platform(Platform platform)
The 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, a prefix match is performed 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, a
prefix match is performed 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, a prefix match is performed 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, a
prefix match is performed 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 are defined for the component.
parameters - Contains parameter details for each of the parameters that are defined for the component.Component.Builder parameters(ComponentParameterDetail... parameters)
Contains parameter details for each of the parameters that are defined for the component.
parameters - Contains parameter details for each of the parameters that are defined for the component.Component.Builder parameters(Consumer<ComponentParameterDetail.Builder>... parameters)
Contains parameter details for each of the parameters that are 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 the component was created.
dateCreated - The date that the component was created.Component.Builder tags(Map<String,String> tags)
The tags associated with the component.
tags - The tags associated with the component.Copyright © 2023. All rights reserved.