Interface QueryGenerationContext.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QueryGenerationContext.Builder,QueryGenerationContext>,SdkBuilder<QueryGenerationContext.Builder,QueryGenerationContext>,SdkPojo
- Enclosing class:
- QueryGenerationContext
@Mutable @NotThreadSafe public static interface QueryGenerationContext.Builder extends SdkPojo, CopyableBuilder<QueryGenerationContext.Builder,QueryGenerationContext>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryGenerationContext.BuildercuratedQueries(Collection<CuratedQuery> curatedQueries)An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.QueryGenerationContext.BuildercuratedQueries(Consumer<CuratedQuery.Builder>... curatedQueries)An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.QueryGenerationContext.BuildercuratedQueries(CuratedQuery... curatedQueries)An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.QueryGenerationContext.Buildertables(Collection<QueryGenerationTable> tables)An array of objects, each of which defines information about a table in the database.QueryGenerationContext.Buildertables(Consumer<QueryGenerationTable.Builder>... tables)An array of objects, each of which defines information about a table in the database.QueryGenerationContext.Buildertables(QueryGenerationTable... tables)An array of objects, each of which defines information about a table in the database.-
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
-
tables
QueryGenerationContext.Builder tables(Collection<QueryGenerationTable> tables)
An array of objects, each of which defines information about a table in the database.
- Parameters:
tables- An array of objects, each of which defines information about a table in the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
QueryGenerationContext.Builder tables(QueryGenerationTable... tables)
An array of objects, each of which defines information about a table in the database.
- Parameters:
tables- An array of objects, each of which defines information about a table in the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tables
QueryGenerationContext.Builder tables(Consumer<QueryGenerationTable.Builder>... tables)
An array of objects, each of which defines information about a table in the database.
This is a convenience method that creates an instance of theQueryGenerationTable.Builderavoiding the need to create one manually viaQueryGenerationTable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tables(List.) - Parameters:
tables- a consumer that will call methods onQueryGenerationTable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tables(java.util.Collection)
-
curatedQueries
QueryGenerationContext.Builder curatedQueries(Collection<CuratedQuery> curatedQueries)
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
- Parameters:
curatedQueries- An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
curatedQueries
QueryGenerationContext.Builder curatedQueries(CuratedQuery... curatedQueries)
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
- Parameters:
curatedQueries- An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
curatedQueries
QueryGenerationContext.Builder curatedQueries(Consumer<CuratedQuery.Builder>... curatedQueries)
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
This is a convenience method that creates an instance of theCuratedQuery.Builderavoiding the need to create one manually viaCuratedQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#curatedQueries(List.) - Parameters:
curatedQueries- a consumer that will call methods onCuratedQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#curatedQueries(java.util.Collection)
-
-