Interface PartitionKey.Builder

    • Method Detail

      • type

        PartitionKey.Builder type​(String 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:
        PartitionKeyType, PartitionKeyType
      • type

        PartitionKey.Builder type​(PartitionKeyType 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:
        PartitionKeyType, PartitionKeyType
      • name

        PartitionKey.Builder name​(String 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:
        PartitionKeyEnforcementLevel, PartitionKeyEnforcementLevel
      • 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:
        PartitionKeyEnforcementLevel, PartitionKeyEnforcementLevel