Interface ComponentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentConfiguration.Builder,
,ComponentConfiguration> SdkBuilder<ComponentConfiguration.Builder,
,ComponentConfiguration> SdkPojo
- Enclosing class:
ComponentConfiguration
public static interface ComponentConfiguration.Builder
extends SdkPojo, CopyableBuilder<ComponentConfiguration.Builder,ComponentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentArn
(String componentArn) The Amazon Resource Name (ARN) of the component.parameters
(Collection<ComponentParameter> parameters) A group of parameter settings that Image Builder uses to configure the component for a specific recipe.parameters
(Consumer<ComponentParameter.Builder>... parameters) A group of parameter settings that Image Builder uses to configure the component for a specific recipe.parameters
(ComponentParameter... parameters) A group of parameter settings that Image Builder uses to configure the component for a specific recipe.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
componentArn
The Amazon Resource Name (ARN) of the component.
- Parameters:
componentArn
- The Amazon Resource Name (ARN) of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A group of parameter settings that Image Builder uses to configure the component for a specific recipe.
- Parameters:
parameters
- A group of parameter settings that Image Builder uses to configure the component for a specific recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A group of parameter settings that Image Builder uses to configure the component for a specific recipe.
- Parameters:
parameters
- A group of parameter settings that Image Builder uses to configure the component for a specific recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A group of parameter settings that Image Builder uses to configure the component for a specific recipe.
This is a convenience method that creates an instance of theComponentParameter.Builder
avoiding the need to create one manually viaComponentParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<ComponentParameter>)
.- Parameters:
parameters
- a consumer that will call methods onComponentParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-