Interface HarnessTool.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessTool.Builder,,HarnessTool> SdkBuilder<HarnessTool.Builder,,HarnessTool> SdkPojo
- Enclosing class:
HarnessTool
@Mutable
@NotThreadSafe
public static interface HarnessTool.Builder
extends SdkPojo, CopyableBuilder<HarnessTool.Builder,HarnessTool>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HarnessTool.BuilderTool-specific configuration.config(HarnessToolConfiguration config) Tool-specific configuration.Unique name for the tool.The type of tool.type(HarnessToolType type) The type of tool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The type of tool.
- Parameters:
type- The type of tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of tool.
- Parameters:
type- The type of tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Unique name for the tool. If not provided, a name will be inferred or generated.
- Parameters:
name- Unique name for the tool. If not provided, a name will be inferred or generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
Tool-specific configuration.
- Parameters:
config- Tool-specific configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
Tool-specific configuration.
This is a convenience method that creates an instance of theHarnessToolConfiguration.Builderavoiding the need to create one manually viaHarnessToolConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfig(HarnessToolConfiguration).- Parameters:
config- a consumer that will call methods onHarnessToolConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-