Interface QueryGenerationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryGenerationConfiguration.Builder,
,QueryGenerationConfiguration> SdkBuilder<QueryGenerationConfiguration.Builder,
,QueryGenerationConfiguration> SdkPojo
- Enclosing class:
QueryGenerationConfiguration
@Mutable
@NotThreadSafe
public static interface QueryGenerationConfiguration.Builder
extends SdkPojo, CopyableBuilder<QueryGenerationConfiguration.Builder,QueryGenerationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionTimeoutSeconds
(Integer executionTimeoutSeconds) The time after which query generation will time out.generationContext
(Consumer<QueryGenerationContext.Builder> generationContext) Specifies configurations for context to use during query generation.generationContext
(QueryGenerationContext generationContext) Specifies configurations for context to use during query generation.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
-
executionTimeoutSeconds
The time after which query generation will time out.
- Parameters:
executionTimeoutSeconds
- The time after which query generation will time out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationContext
Specifies configurations for context to use during query generation.
- Parameters:
generationContext
- Specifies configurations for context to use during query generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationContext
default QueryGenerationConfiguration.Builder generationContext(Consumer<QueryGenerationContext.Builder> generationContext) Specifies configurations for context to use during query generation.
This is a convenience method that creates an instance of theQueryGenerationContext.Builder
avoiding the need to create one manually viaQueryGenerationContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togenerationContext(QueryGenerationContext)
.- Parameters:
generationContext
- a consumer that will call methods onQueryGenerationContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-