Interface RelationalTable.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RelationalTable.Builder,RelationalTable>
,SdkBuilder<RelationalTable.Builder,RelationalTable>
,SdkPojo
- Enclosing class:
- RelationalTable
public static interface RelationalTable.Builder extends SdkPojo, CopyableBuilder<RelationalTable.Builder,RelationalTable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelationalTable.Builder
catalog(String catalog)
The catalog associated with a table.RelationalTable.Builder
dataSourceArn(String dataSourceArn)
The Amazon Resource Name (ARN) for the data source.RelationalTable.Builder
inputColumns(Collection<InputColumn> inputColumns)
The column schema of the table.RelationalTable.Builder
inputColumns(Consumer<InputColumn.Builder>... inputColumns)
The column schema of the table.RelationalTable.Builder
inputColumns(InputColumn... inputColumns)
The column schema of the table.RelationalTable.Builder
name(String name)
The name of the relational table.RelationalTable.Builder
schema(String schema)
The schema name.-
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, sdkFields
-
-
-
-
Method Detail
-
dataSourceArn
RelationalTable.Builder dataSourceArn(String dataSourceArn)
The Amazon Resource Name (ARN) for the data source.
- Parameters:
dataSourceArn
- The Amazon Resource Name (ARN) for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
catalog
RelationalTable.Builder catalog(String catalog)
The catalog associated with a table.
- Parameters:
catalog
- The catalog associated with a table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
RelationalTable.Builder schema(String schema)
The schema name. This name applies to certain relational database engines.
- Parameters:
schema
- The schema name. This name applies to certain relational database engines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
RelationalTable.Builder name(String name)
The name of the relational table.
- Parameters:
name
- The name of the relational table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputColumns
RelationalTable.Builder inputColumns(Collection<InputColumn> inputColumns)
The column schema of the table.
- Parameters:
inputColumns
- The column schema of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputColumns
RelationalTable.Builder inputColumns(InputColumn... inputColumns)
The column schema of the table.
- Parameters:
inputColumns
- The column schema of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputColumns
RelationalTable.Builder inputColumns(Consumer<InputColumn.Builder>... inputColumns)
The column schema of the table.
This is a convenience method that creates an instance of theInputColumn.Builder
avoiding the need to create one manually viaInputColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#inputColumns(List
.) - Parameters:
inputColumns
- a consumer that will call methods onInputColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inputColumns(java.util.Collection
)
-
-