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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComponentConfiguration.BuildercomponentArn(String componentArn)The Amazon Resource Name (ARN) of the component.ComponentConfiguration.Builderparameters(Collection<ComponentParameter> parameters)A group of parameter settings that Image Builder uses to configure the component for a specific recipe.ComponentConfiguration.Builderparameters(Consumer<ComponentParameter.Builder>... parameters)A group of parameter settings that Image Builder uses to configure the component for a specific recipe.ComponentConfiguration.Builderparameters(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 Detail
-
componentArn
ComponentConfiguration.Builder componentArn(String 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
ComponentConfiguration.Builder parameters(Collection<ComponentParameter> 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
ComponentConfiguration.Builder parameters(ComponentParameter... 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
ComponentConfiguration.Builder parameters(Consumer<ComponentParameter.Builder>... 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.Builderavoiding the need to create one manually viaComponentParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parameters(List.) - 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:
#parameters(java.util.Collection)
-
-