Interface SqlDataQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SqlDataQuery.Builder,,SqlDataQuery> SdkBuilder<SqlDataQuery.Builder,,SqlDataQuery> SdkPojo
- Enclosing class:
SqlDataQuery
@Mutable
@NotThreadSafe
public static interface SqlDataQuery.Builder
extends SdkPojo, CopyableBuilder<SqlDataQuery.Builder,SqlDataQuery>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SqlDataQuery.Buildersql(Consumer<SqlQuery.Builder> sql) A SQL statement and the tables it reads.A SQL statement and the tables it reads.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
-
sql
A SQL statement and the tables it reads.
- Parameters:
sql- A SQL statement and the tables it reads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sql
A SQL statement and the tables it reads.
This is a convenience method that creates an instance of theSqlQuery.Builderavoiding the need to create one manually viaSqlQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosql(SqlQuery).- Parameters:
sql- a consumer that will call methods onSqlQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-