Interface NodeAggregator.Builder

  • Method Details

    • aggregatorType

      NodeAggregator.Builder aggregatorType(String aggregatorType)

      The aggregator type for limiting a node summary. Currently, only Count is supported.

      Parameters:
      aggregatorType - The aggregator type for limiting a node summary. Currently, only Count is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregatorType

      NodeAggregator.Builder aggregatorType(NodeAggregatorType aggregatorType)

      The aggregator type for limiting a node summary. Currently, only Count is supported.

      Parameters:
      aggregatorType - The aggregator type for limiting a node summary. Currently, only Count is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • typeName

      NodeAggregator.Builder typeName(String typeName)

      The data type name to use for viewing counts of nodes. Currently, only Instance is supported.

      Parameters:
      typeName - The data type name to use for viewing counts of nodes. Currently, only Instance is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • typeName

      The data type name to use for viewing counts of nodes. Currently, only Instance is supported.

      Parameters:
      typeName - The data type name to use for viewing counts of nodes. Currently, only Instance is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • attributeName

      NodeAggregator.Builder attributeName(String attributeName)

      The name of a node attribute on which to limit the count of nodes.

      Parameters:
      attributeName - The name of a node attribute on which to limit the count of nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • attributeName

      NodeAggregator.Builder attributeName(NodeAttributeName attributeName)

      The name of a node attribute on which to limit the count of nodes.

      Parameters:
      attributeName - The name of a node attribute on which to limit the count of nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • aggregators

      Information about aggregators used to refine a node summary.

      Parameters:
      aggregators - Information about aggregators used to refine a node summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregators

      NodeAggregator.Builder aggregators(NodeAggregator... aggregators)

      Information about aggregators used to refine a node summary.

      Parameters:
      aggregators - Information about aggregators used to refine a node summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregators

      Information about aggregators used to refine a node summary.

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

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

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