Class CfnTable.SchemaProperty.Builder

java.lang.Object
software.amazon.awscdk.services.timestream.CfnTable.SchemaProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.SchemaProperty>
Enclosing interface:
CfnTable.SchemaProperty

@Stability(Stable) public static final class CfnTable.SchemaProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTable.SchemaProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • compositePartitionKey

      @Stability(Stable) public CfnTable.SchemaProperty.Builder compositePartitionKey(IResolvable compositePartitionKey)
      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 CfnTable.SchemaProperty.Builder compositePartitionKey(List<? extends Object> compositePartitionKey)
      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

      @Stability(Stable) public CfnTable.SchemaProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTable.SchemaProperty>
      Returns:
      a new instance of CfnTable.SchemaProperty
      Throws:
      NullPointerException - if any required attribute was not provided