Interface CustomSql.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CustomSql.Builder,,- CustomSql> - SdkBuilder<CustomSql.Builder,,- CustomSql> - SdkPojo
- Enclosing class:
- CustomSql
@Mutable
@NotThreadSafe
public static interface CustomSql.Builder
extends SdkPojo, CopyableBuilder<CustomSql.Builder,CustomSql> 
- 
Method SummaryModifier and TypeMethodDescriptioncolumns(Collection<InputColumn> columns) The column schema from the SQL query result set.columns(Consumer<InputColumn.Builder>... columns) The column schema from the SQL query result set.columns(InputColumn... columns) The column schema from the SQL query result set.dataSourceArn(String dataSourceArn) The Amazon Resource Name (ARN) of the data source.A display name for the SQL query result.The SQL query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
dataSourceArnThe Amazon Resource Name (ARN) of the data source. - Parameters:
- dataSourceArn- The Amazon Resource Name (ARN) of the data source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameA display name for the SQL query result. - Parameters:
- name- A display name for the SQL query result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sqlQueryThe SQL query. - Parameters:
- sqlQuery- The SQL query.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
columnsThe column schema from the SQL query result set. - Parameters:
- columns- The column schema from the SQL query result set.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
columnsThe column schema from the SQL query result set. - Parameters:
- columns- The column schema from the SQL query result set.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
columnsThe column schema from the SQL query result set. This is a convenience method that creates an instance of theInputColumn.Builderavoiding the need to create one manually viaInputColumn.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumns(List<InputColumn>).- Parameters:
- columns- a consumer that will call methods on- InputColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-