Interface TextToSqlConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
,SdkBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
,SdkPojo
- Enclosing class:
- TextToSqlConfiguration
public static interface TextToSqlConfiguration.Builder extends SdkPojo, CopyableBuilder<TextToSqlConfiguration.Builder,TextToSqlConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TextToSqlConfiguration.Builder
knowledgeBaseConfiguration(Consumer<TextToSqlKnowledgeBaseConfiguration.Builder> knowledgeBaseConfiguration)
Specifies configurations for a knowledge base to use in transformation.TextToSqlConfiguration.Builder
knowledgeBaseConfiguration(TextToSqlKnowledgeBaseConfiguration knowledgeBaseConfiguration)
Specifies configurations for a knowledge base to use in transformation.TextToSqlConfiguration.Builder
type(String type)
The type of resource to use in transformation.TextToSqlConfiguration.Builder
type(TextToSqlConfigurationType type)
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 Detail
-
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:
knowledgeBaseConfiguration(TextToSqlKnowledgeBaseConfiguration)
-
type
TextToSqlConfiguration.Builder type(String 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:
TextToSqlConfigurationType
,TextToSqlConfigurationType
-
type
TextToSqlConfiguration.Builder type(TextToSqlConfigurationType 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:
TextToSqlConfigurationType
,TextToSqlConfigurationType
-
-