Interface TransformationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransformationConfiguration.Builder,
,TransformationConfiguration> SdkBuilder<TransformationConfiguration.Builder,
,TransformationConfiguration> SdkPojo
- Enclosing class:
TransformationConfiguration
@Mutable
@NotThreadSafe
public static interface TransformationConfiguration.Builder
extends SdkPojo, CopyableBuilder<TransformationConfiguration.Builder,TransformationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe mode of the transformation.mode
(QueryTransformationMode mode) The mode of the transformation.textToSqlConfiguration
(Consumer<TextToSqlConfiguration.Builder> textToSqlConfiguration) Specifies configurations for transforming text to SQL.textToSqlConfiguration
(TextToSqlConfiguration textToSqlConfiguration) Specifies configurations for transforming text to SQL.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
-
mode
The mode of the transformation.
- Parameters:
mode
- The mode of the transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The mode of the transformation.
- Parameters:
mode
- The mode of the transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textToSqlConfiguration
TransformationConfiguration.Builder textToSqlConfiguration(TextToSqlConfiguration textToSqlConfiguration) Specifies configurations for transforming text to SQL.
- Parameters:
textToSqlConfiguration
- Specifies configurations for transforming text to SQL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textToSqlConfiguration
default TransformationConfiguration.Builder textToSqlConfiguration(Consumer<TextToSqlConfiguration.Builder> textToSqlConfiguration) Specifies configurations for transforming text to SQL.
This is a convenience method that creates an instance of theTextToSqlConfiguration.Builder
avoiding the need to create one manually viaTextToSqlConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextToSqlConfiguration(TextToSqlConfiguration)
.- Parameters:
textToSqlConfiguration
- a consumer that will call methods onTextToSqlConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-