Interface Tool.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Tool.Builder,,Tool> SdkBuilder<Tool.Builder,,Tool> SdkPojo
- Enclosing class:
Tool
@Mutable
@NotThreadSafe
public static interface Tool.Builder
extends SdkPojo, CopyableBuilder<Tool.Builder,Tool>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Tool.BuildercachePoint(Consumer<CachePointBlock.Builder> cachePoint) Creates a cache checkpoint within a tool designationcachePoint(CachePointBlock cachePoint) Creates a cache checkpoint within a tool designationdefault Tool.BuildertoolSpec(Consumer<ToolSpecification.Builder> toolSpec) The specification for the tool.toolSpec(ToolSpecification toolSpec) The specification for the 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
-
toolSpec
The specification for the tool.
- Parameters:
toolSpec- The specification for the tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSpec
The specification for the tool.
This is a convenience method that creates an instance of theToolSpecification.Builderavoiding the need to create one manually viaToolSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolSpec(ToolSpecification).- Parameters:
toolSpec- a consumer that will call methods onToolSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cachePoint
Creates a cache checkpoint within a tool designation
- Parameters:
cachePoint- Creates a cache checkpoint within a tool designation- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cachePoint
Creates a cache checkpoint within a tool designation
This is a convenience method that creates an instance of theCachePointBlock.Builderavoiding the need to create one manually viaCachePointBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocachePoint(CachePointBlock).- Parameters:
cachePoint- a consumer that will call methods onCachePointBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-