Interface SchemaDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SchemaDefinition.Builder,
,SchemaDefinition> SdkBuilder<SchemaDefinition.Builder,
,SchemaDefinition> SdkPojo
- Enclosing class:
SchemaDefinition
-
Method Summary
Modifier and TypeMethodDescriptionallColumns
(Collection<ColumnDefinition> allColumns) The regular columns of the table.allColumns
(Consumer<ColumnDefinition.Builder>... allColumns) The regular columns of the table.allColumns
(ColumnDefinition... allColumns) The regular columns of the table.clusteringKeys
(Collection<ClusteringKey> clusteringKeys) The columns that are part of the clustering key of the table.clusteringKeys
(Consumer<ClusteringKey.Builder>... clusteringKeys) The columns that are part of the clustering key of the table.clusteringKeys
(ClusteringKey... clusteringKeys) The columns that are part of the clustering key of the table.partitionKeys
(Collection<PartitionKey> partitionKeys) The columns that are part of the partition key of the table .partitionKeys
(Consumer<PartitionKey.Builder>... partitionKeys) The columns that are part of the partition key of the table .partitionKeys
(PartitionKey... partitionKeys) The columns that are part of the partition key of the table .staticColumns
(Collection<StaticColumn> staticColumns) The columns that have been defined asSTATIC
.staticColumns
(Consumer<StaticColumn.Builder>... staticColumns) The columns that have been defined asSTATIC
.staticColumns
(StaticColumn... staticColumns) The columns that have been defined asSTATIC
.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
-
allColumns
The regular columns of the table.
- Parameters:
allColumns
- The regular columns of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allColumns
The regular columns of the table.
- Parameters:
allColumns
- The regular columns of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allColumns
The regular columns of the table.
This is a convenience method that creates an instance of theColumnDefinition.Builder
avoiding the need to create one manually viaColumnDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toallColumns(List<ColumnDefinition>)
.- Parameters:
allColumns
- a consumer that will call methods onColumnDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partitionKeys
The columns that are part of the partition key of the table .
- Parameters:
partitionKeys
- The columns that are part of the partition key of the table .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
The columns that are part of the partition key of the table .
- Parameters:
partitionKeys
- The columns that are part of the partition key of the table .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
The columns that are part of the partition key of the table .
This is a convenience method that creates an instance of thePartitionKey.Builder
avoiding the need to create one manually viaPartitionKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitionKeys(List<PartitionKey>)
.- Parameters:
partitionKeys
- a consumer that will call methods onPartitionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusteringKeys
The columns that are part of the clustering key of the table.
- Parameters:
clusteringKeys
- The columns that are part of the clustering key of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusteringKeys
The columns that are part of the clustering key of the table.
- Parameters:
clusteringKeys
- The columns that are part of the clustering key of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusteringKeys
The columns that are part of the clustering key of the table.
This is a convenience method that creates an instance of theClusteringKey.Builder
avoiding the need to create one manually viaClusteringKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusteringKeys(List<ClusteringKey>)
.- Parameters:
clusteringKeys
- a consumer that will call methods onClusteringKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
staticColumns
The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.- Parameters:
staticColumns
- The columns that have been defined asSTATIC
. Static columns store values that are shared by all rows in the same partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticColumns
The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.- Parameters:
staticColumns
- The columns that have been defined asSTATIC
. Static columns store values that are shared by all rows in the same partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticColumns
The columns that have been defined as
This is a convenience method that creates an instance of theSTATIC
. Static columns store values that are shared by all rows in the same partition.StaticColumn.Builder
avoiding the need to create one manually viaStaticColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaticColumns(List<StaticColumn>)
.- Parameters:
staticColumns
- a consumer that will call methods onStaticColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-