Interface Tool.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Tool.Builder,Tool>
,SdkBuilder<Tool.Builder,Tool>
,SdkPojo
- Enclosing class:
- Tool
public static interface Tool.Builder extends SdkPojo, CopyableBuilder<Tool.Builder,Tool>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Tool.Builder
cachePoint(Consumer<CachePointBlock.Builder> cachePoint)
CachePoint to include in the tool configuration.Tool.Builder
cachePoint(CachePointBlock cachePoint)
CachePoint to include in the tool configuration.default Tool.Builder
toolSpec(Consumer<ToolSpecification.Builder> toolSpec)
The specfication for the tool.Tool.Builder
toolSpec(ToolSpecification toolSpec)
The specfication for the tool.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
toolSpec
Tool.Builder toolSpec(ToolSpecification toolSpec)
The specfication for the tool.
- Parameters:
toolSpec
- The specfication for the tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSpec
default Tool.Builder toolSpec(Consumer<ToolSpecification.Builder> toolSpec)
The specfication for the tool.
This is a convenience method that creates an instance of theToolSpecification.Builder
avoiding the need to create one manually viaToolSpecification.builder()
.When the
Consumer
completes,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:
toolSpec(ToolSpecification)
-
cachePoint
Tool.Builder cachePoint(CachePointBlock cachePoint)
CachePoint to include in the tool configuration.
- Parameters:
cachePoint
- CachePoint to include in the tool configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cachePoint
default Tool.Builder cachePoint(Consumer<CachePointBlock.Builder> cachePoint)
CachePoint to include in the tool configuration.
This is a convenience method that creates an instance of theCachePointBlock.Builder
avoiding the need to create one manually viaCachePointBlock.builder()
.When the
Consumer
completes,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:
cachePoint(CachePointBlock)
-
-