Interface TopicNumericRangeFilter.Builder

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

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

    • inclusive

      A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.

      Parameters:
      inclusive - A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • constant

      The constant used in a numeric range filter.

      Parameters:
      constant - The constant used in a numeric range filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • constant

      The constant used in a numeric range filter.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to constant(TopicRangeFilterConstant).

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

      TopicNumericRangeFilter.Builder aggregation(String aggregation)

      An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.

      Parameters:
      aggregation - An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregation

      An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.

      Parameters:
      aggregation - An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are NO_AGGREGATION, SUM, AVERAGE, COUNT, DISTINCT_COUNT, MAX, MEDIAN, MIN, STDEV, STDEVP, VAR, and VARP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: