Interface ApiGatewayToolConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApiGatewayToolConfiguration.Builder,,ApiGatewayToolConfiguration> SdkBuilder<ApiGatewayToolConfiguration.Builder,,ApiGatewayToolConfiguration> SdkPojo
- Enclosing class:
ApiGatewayToolConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiontoolFilters(Collection<ApiGatewayToolFilter> toolFilters) A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.toolFilters(Consumer<ApiGatewayToolFilter.Builder>... toolFilters) A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.toolFilters(ApiGatewayToolFilter... toolFilters) A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.toolOverrides(Collection<ApiGatewayToolOverride> toolOverrides) A list of explicit tool definitions with optional custom names and descriptions.toolOverrides(Consumer<ApiGatewayToolOverride.Builder>... toolOverrides) A list of explicit tool definitions with optional custom names and descriptions.toolOverrides(ApiGatewayToolOverride... toolOverrides) A list of explicit tool definitions with optional custom names and descriptions.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
-
toolOverrides
A list of explicit tool definitions with optional custom names and descriptions.
- Parameters:
toolOverrides- A list of explicit tool definitions with optional custom names and descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolOverrides
A list of explicit tool definitions with optional custom names and descriptions.
- Parameters:
toolOverrides- A list of explicit tool definitions with optional custom names and descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolOverrides
ApiGatewayToolConfiguration.Builder toolOverrides(Consumer<ApiGatewayToolOverride.Builder>... toolOverrides) A list of explicit tool definitions with optional custom names and descriptions.
This is a convenience method that creates an instance of theApiGatewayToolOverride.Builderavoiding the need to create one manually viaApiGatewayToolOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolOverrides(List<ApiGatewayToolOverride>).- Parameters:
toolOverrides- a consumer that will call methods onApiGatewayToolOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toolFilters
A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.
- Parameters:
toolFilters- A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolFilters
A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.
- Parameters:
toolFilters- A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolFilters
ApiGatewayToolConfiguration.Builder toolFilters(Consumer<ApiGatewayToolFilter.Builder>... toolFilters) A list of path and method patterns to expose as tools using metadata from the REST API's OpenAPI specification.
This is a convenience method that creates an instance of theApiGatewayToolFilter.Builderavoiding the need to create one manually viaApiGatewayToolFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolFilters(List<ApiGatewayToolFilter>).- Parameters:
toolFilters- a consumer that will call methods onApiGatewayToolFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-