Interface QueryGenerationContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryGenerationContext.Builder,
,QueryGenerationContext> SdkBuilder<QueryGenerationContext.Builder,
,QueryGenerationContext> SdkPojo
- Enclosing class:
QueryGenerationContext
-
Method Summary
Modifier and TypeMethodDescriptioncuratedQueries
(Collection<CuratedQuery> curatedQueries) An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.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.curatedQueries
(CuratedQuery... curatedQueries) An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.tables
(Collection<QueryGenerationTable> tables) An array of objects, each of which defines information about a table in the database.tables
(Consumer<QueryGenerationTable.Builder>... tables) An array of objects, each of which defines information about a table in the database.tables
(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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaCuratedQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocuratedQueries(List<CuratedQuery>)
.- 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:
-
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
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
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.Builder
avoiding the need to create one manually viaQueryGenerationTable.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totables(List<QueryGenerationTable>)
.- 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:
-