Interface Schema.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Schema.Builder,Schema>,SdkBuilder<Schema.Builder,Schema>,SdkPojo
- Enclosing class:
- Schema
public static interface Schema.Builder extends SdkPojo, CopyableBuilder<Schema.Builder,Schema>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schema.BuildercompositePartitionKey(Collection<PartitionKey> compositePartitionKey)A non-empty list of partition keys defining the attributes used to partition the table data.Schema.BuildercompositePartitionKey(Consumer<PartitionKey.Builder>... compositePartitionKey)A non-empty list of partition keys defining the attributes used to partition the table data.Schema.BuildercompositePartitionKey(PartitionKey... compositePartitionKey)A non-empty list of partition keys defining the attributes used to partition the table data.-
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
-
compositePartitionKey
Schema.Builder compositePartitionKey(Collection<PartitionKey> compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- Parameters:
compositePartitionKey- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositePartitionKey
Schema.Builder compositePartitionKey(PartitionKey... compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- Parameters:
compositePartitionKey- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compositePartitionKey
Schema.Builder compositePartitionKey(Consumer<PartitionKey.Builder>... compositePartitionKey)
A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
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#compositePartitionKey(List.) - Parameters:
compositePartitionKey- 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:
#compositePartitionKey(java.util.Collection)
-
-