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
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
-
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.Builderavoiding the need to create one manually viaQueryGenerationContext.builder().When the
Consumercompletes,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:
-