Interface ConnectorTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorTargetConfiguration.Builder,,ConnectorTargetConfiguration> SdkBuilder<ConnectorTargetConfiguration.Builder,,ConnectorTargetConfiguration> SdkPojo
- Enclosing class:
ConnectorTargetConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionconfigurations(Collection<ConnectorConfiguration> configurations) A list of per-tool configurations for the connector.configurations(Consumer<ConnectorConfiguration.Builder>... configurations) A list of per-tool configurations for the connector.configurations(ConnectorConfiguration... configurations) A list of per-tool configurations for the connector.A list of tool names to enable from this connector.enabled(Collection<String> enabled) A list of tool names to enable from this connector.source(Consumer<ConnectorSource.Builder> source) The source configuration identifying which connector to use.source(ConnectorSource source) The source configuration identifying which connector to use.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
-
source
The source configuration identifying which connector to use.
- Parameters:
source- The source configuration identifying which connector to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source configuration identifying which connector to use.
This is a convenience method that creates an instance of theConnectorSource.Builderavoiding the need to create one manually viaConnectorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ConnectorSource).- Parameters:
source- a consumer that will call methods onConnectorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabled
A list of tool names to enable from this connector. If absent, all tools provided by the connector are enabled.
- Parameters:
enabled- A list of tool names to enable from this connector. If absent, all tools provided by the connector are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
A list of tool names to enable from this connector. If absent, all tools provided by the connector are enabled.
- Parameters:
enabled- A list of tool names to enable from this connector. If absent, all tools provided by the connector are enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ConnectorTargetConfiguration.Builder configurations(Collection<ConnectorConfiguration> configurations) A list of per-tool configurations for the connector.
- Parameters:
configurations- A list of per-tool configurations for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
A list of per-tool configurations for the connector.
- Parameters:
configurations- A list of per-tool configurations for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurations
ConnectorTargetConfiguration.Builder configurations(Consumer<ConnectorConfiguration.Builder>... configurations) A list of per-tool configurations for the connector.
This is a convenience method that creates an instance of theConnectorConfiguration.Builderavoiding the need to create one manually viaConnectorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurations(List<ConnectorConfiguration>).- Parameters:
configurations- a consumer that will call methods onConnectorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-