Class CfnTablePropsMixin.SchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnTablePropsMixin.SchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.SchemaProperty>
- Enclosing interface:
CfnTablePropsMixin.SchemaProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.SchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.SchemaProperty>
A builder for
CfnTablePropsMixin.SchemaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compositePartitionKey(List<? extends Object> compositePartitionKey) Sets the value ofCfnTablePropsMixin.SchemaProperty.getCompositePartitionKey()compositePartitionKey(IResolvable compositePartitionKey) Sets the value ofCfnTablePropsMixin.SchemaProperty.getCompositePartitionKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
compositePartitionKey
@Stability(Stable) public CfnTablePropsMixin.SchemaProperty.Builder compositePartitionKey(IResolvable compositePartitionKey) Sets the value ofCfnTablePropsMixin.SchemaProperty.getCompositePartitionKey()- 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:
this
-
compositePartitionKey
@Stability(Stable) public CfnTablePropsMixin.SchemaProperty.Builder compositePartitionKey(List<? extends Object> compositePartitionKey) Sets the value ofCfnTablePropsMixin.SchemaProperty.getCompositePartitionKey()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.SchemaProperty>- Returns:
- a new instance of
CfnTablePropsMixin.SchemaProperty - Throws:
NullPointerException- if any required attribute was not provided
-