Interface PivotConfiguration.Builder

  • Method Details

    • labelColumnName

      PivotConfiguration.Builder labelColumnName(String labelColumnName)

      The name of the column that contains the labels to be pivoted into separate columns.

      Parameters:
      labelColumnName - The name of the column that contains the labels to be pivoted into separate columns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pivotedLabels

      PivotConfiguration.Builder pivotedLabels(Collection<PivotedLabel> pivotedLabels)

      The list of specific label values to pivot into separate columns.

      Parameters:
      pivotedLabels - The list of specific label values to pivot into separate columns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pivotedLabels

      PivotConfiguration.Builder pivotedLabels(PivotedLabel... pivotedLabels)

      The list of specific label values to pivot into separate columns.

      Parameters:
      pivotedLabels - The list of specific label values to pivot into separate columns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pivotedLabels

      PivotConfiguration.Builder pivotedLabels(Consumer<PivotedLabel.Builder>... pivotedLabels)

      The list of specific label values to pivot into separate columns.

      This is a convenience method that creates an instance of the PivotedLabel.Builder avoiding the need to create one manually via PivotedLabel.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pivotedLabels(List<PivotedLabel>).

      Parameters:
      pivotedLabels - a consumer that will call methods on PivotedLabel.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: