Interface TextToSqlConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextToSqlConfiguration.Builder,
,TextToSqlConfiguration> SdkBuilder<TextToSqlConfiguration.Builder,
,TextToSqlConfiguration> SdkPojo
- Enclosing class:
TextToSqlConfiguration
@Mutable
@NotThreadSafe
public static interface TextToSqlConfiguration.Builder
extends SdkPojo, CopyableBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TextToSqlConfiguration.Builder
knowledgeBaseConfiguration
(Consumer<TextToSqlKnowledgeBaseConfiguration.Builder> knowledgeBaseConfiguration) Specifies configurations for a knowledge base to use in transformation.knowledgeBaseConfiguration
(TextToSqlKnowledgeBaseConfiguration knowledgeBaseConfiguration) Specifies configurations for a knowledge base to use in transformation.The type of resource to use in transformation.The type of resource to use in transformation.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 Details
-
knowledgeBaseConfiguration
TextToSqlConfiguration.Builder knowledgeBaseConfiguration(TextToSqlKnowledgeBaseConfiguration knowledgeBaseConfiguration) Specifies configurations for a knowledge base to use in transformation.
- Parameters:
knowledgeBaseConfiguration
- Specifies configurations for a knowledge base to use in transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseConfiguration
default TextToSqlConfiguration.Builder knowledgeBaseConfiguration(Consumer<TextToSqlKnowledgeBaseConfiguration.Builder> knowledgeBaseConfiguration) Specifies configurations for a knowledge base to use in transformation.
This is a convenience method that creates an instance of theTextToSqlKnowledgeBaseConfiguration.Builder
avoiding the need to create one manually viaTextToSqlKnowledgeBaseConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toknowledgeBaseConfiguration(TextToSqlKnowledgeBaseConfiguration)
.- Parameters:
knowledgeBaseConfiguration
- a consumer that will call methods onTextToSqlKnowledgeBaseConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of resource to use in transformation.
- Parameters:
type
- The type of resource to use in transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of resource to use in transformation.
- Parameters:
type
- The type of resource to use in transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-