Interface SchemaDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SchemaDefinition.Builder,SchemaDefinition>,SdkBuilder<SchemaDefinition.Builder,SchemaDefinition>,SdkPojo
- Enclosing class:
- SchemaDefinition
public static interface SchemaDefinition.Builder extends SdkPojo, CopyableBuilder<SchemaDefinition.Builder,SchemaDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaDefinition.BuilderallColumns(Collection<ColumnDefinition> allColumns)The regular columns of the table.SchemaDefinition.BuilderallColumns(Consumer<ColumnDefinition.Builder>... allColumns)The regular columns of the table.SchemaDefinition.BuilderallColumns(ColumnDefinition... allColumns)The regular columns of the table.SchemaDefinition.BuilderclusteringKeys(Collection<ClusteringKey> clusteringKeys)The columns that are part of the clustering key of the table.SchemaDefinition.BuilderclusteringKeys(Consumer<ClusteringKey.Builder>... clusteringKeys)The columns that are part of the clustering key of the table.SchemaDefinition.BuilderclusteringKeys(ClusteringKey... clusteringKeys)The columns that are part of the clustering key of the table.SchemaDefinition.BuilderpartitionKeys(Collection<PartitionKey> partitionKeys)The columns that are part of the partition key of the table .SchemaDefinition.BuilderpartitionKeys(Consumer<PartitionKey.Builder>... partitionKeys)The columns that are part of the partition key of the table .SchemaDefinition.BuilderpartitionKeys(PartitionKey... partitionKeys)The columns that are part of the partition key of the table .SchemaDefinition.BuilderstaticColumns(Collection<StaticColumn> staticColumns)The columns that have been defined asSTATIC.SchemaDefinition.BuilderstaticColumns(Consumer<StaticColumn.Builder>... staticColumns)The columns that have been defined asSTATIC.SchemaDefinition.BuilderstaticColumns(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, sdkFields
-
-
-
-
Method Detail
-
allColumns
SchemaDefinition.Builder allColumns(Collection<ColumnDefinition> 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
SchemaDefinition.Builder allColumns(ColumnDefinition... 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
SchemaDefinition.Builder allColumns(Consumer<ColumnDefinition.Builder>... allColumns)
The regular columns of the table.
This is a convenience method that creates an instance of theColumnDefinition.Builderavoiding the need to create one manually viaColumnDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#allColumns(List.) - 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:
#allColumns(java.util.Collection)
-
partitionKeys
SchemaDefinition.Builder partitionKeys(Collection<PartitionKey> 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
SchemaDefinition.Builder partitionKeys(PartitionKey... 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
SchemaDefinition.Builder partitionKeys(Consumer<PartitionKey.Builder>... partitionKeys)
The columns that are part of the partition key of the table .
This is a convenience method that creates an instance of thePartitionKey.Builderavoiding the need to create one manually viaPartitionKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#partitionKeys(List.) - 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:
#partitionKeys(java.util.Collection)
-
clusteringKeys
SchemaDefinition.Builder clusteringKeys(Collection<ClusteringKey> 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
SchemaDefinition.Builder clusteringKeys(ClusteringKey... 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
SchemaDefinition.Builder clusteringKeys(Consumer<ClusteringKey.Builder>... clusteringKeys)
The columns that are part of the clustering key of the table.
This is a convenience method that creates an instance of theClusteringKey.Builderavoiding the need to create one manually viaClusteringKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#clusteringKeys(List.) - 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:
#clusteringKeys(java.util.Collection)
-
staticColumns
SchemaDefinition.Builder staticColumns(Collection<StaticColumn> 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
SchemaDefinition.Builder staticColumns(StaticColumn... 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
SchemaDefinition.Builder staticColumns(Consumer<StaticColumn.Builder>... 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.Builderavoiding the need to create one manually viaStaticColumn.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#staticColumns(List.) - 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:
#staticColumns(java.util.Collection)
-
-