Interface ConnectorConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorConfiguration.Builder,,ConnectorConfiguration> SdkBuilder<ConnectorConfiguration.Builder,,ConnectorConfiguration> SdkPojo
- Enclosing class:
ConnectorConfiguration
@Mutable
@NotThreadSafe
public static interface ConnectorConfiguration.Builder
extends SdkPojo, CopyableBuilder<ConnectorConfiguration.Builder,ConnectorConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) An agent-facing description override for this tool.The tool or operation name (for example,retrieveorwebSearch).parameterOverrides(Collection<ConnectorParameterOverride> parameterOverrides) Parameters to expose to the agent at runtime, with optional description overrides.parameterOverrides(Consumer<ConnectorParameterOverride.Builder>... parameterOverrides) Parameters to expose to the agent at runtime, with optional description overrides.parameterOverrides(ConnectorParameterOverride... parameterOverrides) Parameters to expose to the agent at runtime, with optional description overrides.parameterValues(Document parameterValues) Parameters to set as fixed or default values when provisioning this 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
-
name
The tool or operation name (for example,
retrieveorwebSearch).- Parameters:
name- The tool or operation name (for example,retrieveorwebSearch).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An agent-facing description override for this tool.
- Parameters:
description- An agent-facing description override for this tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterValues
Parameters to set as fixed or default values when provisioning this tool.
- Parameters:
parameterValues- Parameters to set as fixed or default values when provisioning this tool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterOverrides
ConnectorConfiguration.Builder parameterOverrides(Collection<ConnectorParameterOverride> parameterOverrides) Parameters to expose to the agent at runtime, with optional description overrides.
- Parameters:
parameterOverrides- Parameters to expose to the agent at runtime, with optional description overrides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterOverrides
Parameters to expose to the agent at runtime, with optional description overrides.
- Parameters:
parameterOverrides- Parameters to expose to the agent at runtime, with optional description overrides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterOverrides
ConnectorConfiguration.Builder parameterOverrides(Consumer<ConnectorParameterOverride.Builder>... parameterOverrides) Parameters to expose to the agent at runtime, with optional description overrides.
This is a convenience method that creates an instance of theConnectorParameterOverride.Builderavoiding the need to create one manually viaConnectorParameterOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameterOverrides(List<ConnectorParameterOverride>).- Parameters:
parameterOverrides- a consumer that will call methods onConnectorParameterOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-