public static final class TableAttributes.Builder
extends java.lang.Object
TableAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TableAttributes |
build()
Builds the configured instance.
|
TableAttributes.Builder |
cluster(ICluster cluster)
Sets the value of
TableAttributes.getCluster() |
TableAttributes.Builder |
databaseName(java.lang.String databaseName)
Sets the value of
TableAttributes.getDatabaseName() |
TableAttributes.Builder |
tableColumns(java.util.List<? extends Column> tableColumns)
Sets the value of
TableAttributes.getTableColumns() |
TableAttributes.Builder |
tableName(java.lang.String tableName)
Sets the value of
TableAttributes.getTableName() |
public TableAttributes.Builder cluster(ICluster cluster)
TableAttributes.getCluster()
cluster
- The cluster where the table is located. This parameter is required.this
public TableAttributes.Builder databaseName(java.lang.String databaseName)
TableAttributes.getDatabaseName()
databaseName
- The name of the database where the table is located. This parameter is required.this
public TableAttributes.Builder tableColumns(java.util.List<? extends Column> tableColumns)
TableAttributes.getTableColumns()
tableColumns
- The columns of the table. This parameter is required.this
public TableAttributes.Builder tableName(java.lang.String tableName)
TableAttributes.getTableName()
tableName
- Name of the table. This parameter is required.this
public TableAttributes build()
TableAttributes
java.lang.NullPointerException
- if any required attribute was not provided