Interface PartitionKey.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PartitionKey.Builder,PartitionKey>, SdkBuilder<PartitionKey.Builder,PartitionKey>, SdkPojo
Enclosing class:
PartitionKey

public static interface PartitionKey.Builder extends SdkPojo, CopyableBuilder<PartitionKey.Builder,PartitionKey>
  • Method Details

    • type

      The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

      Parameters:
      type - The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

      Parameters:
      type - The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The name of the attribute used for a dimension key.

      Parameters:
      name - The name of the attribute used for a dimension key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enforcementInRecord

      PartitionKey.Builder enforcementInRecord(String enforcementInRecord)

      The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

      Parameters:
      enforcementInRecord - The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enforcementInRecord

      PartitionKey.Builder enforcementInRecord(PartitionKeyEnforcementLevel enforcementInRecord)

      The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

      Parameters:
      enforcementInRecord - The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: