Interface DistributionStatisticsConfig.Builder

All Superinterfaces:
Builder<DistributionStatisticsConfig.Builder,DistributionStatisticsConfig>, Supplier<DistributionStatisticsConfig>, Wrapper
Enclosing interface:
DistributionStatisticsConfig

public static interface DistributionStatisticsConfig.Builder extends Wrapper, Builder<DistributionStatisticsConfig.Builder,DistributionStatisticsConfig>
Builder for a new DistributionStatisticsConfig instance.
  • Method Details

    • minimumExpectedValue

      DistributionStatisticsConfig.Builder minimumExpectedValue(Double min)
      Sets the minimum value that the meter is expected to observe.
      Parameters:
      min - minimum value that this distribution summary is expected to observe
      Returns:
      updated builder
    • maximumExpectedValue

      DistributionStatisticsConfig.Builder maximumExpectedValue(Double max)
      Sets the maximum value that the meter is expected to observe.
      Parameters:
      max - maximum value that the meter is expected to observe
      Returns:
      updated builder
    • percentiles

      DistributionStatisticsConfig.Builder percentiles(double... percentiles)
      Specifies time series percentiles.

      The system computes these percentiles locally, so they cannot be aggregated with percentiles computed elsewhere.

      Specify percentiles a decimals, for example express the 95th percentile as 0.95.

      Parameters:
      percentiles - percentiles to compute and publish
      Returns:
      updated builder
    • percentiles

      Specifies time series percentiles.

      The system computes these percentiles locally, so they cannot be aggregated with percentiles computed elsewhere.

      Specify percentiles a decimals, for example express the 95th percentile as 0.95.

      Parameters:
      percentiles - percentiles to compute and publish
      Returns:
      updated builder
    • buckets

      DistributionStatisticsConfig.Builder buckets(double... buckets)
      Sets the boundary boundaries.
      Parameters:
      buckets - boundary boundaries
      Returns:
      updated builder
    • buckets

      Sets the boundary boundaries.
      Parameters:
      buckets - boundary boundaries
      Returns:
      updated builder
    • minimumExpectedValue

      Optional<Double> minimumExpectedValue()
      Returns the minimum expected value setting.
      Returns:
      min expected value
    • maximumExpectedValue

      Optional<Double> maximumExpectedValue()
      Returns the maximum expected value setting.
      Returns:
      max expected value
    • percentiles

      Iterable<Double> percentiles()
      Returns the percentiles.
      Returns:
      percentiles
    • buckets

      Iterable<Double> buckets()
      Returns the buckets.
      Returns:
      buckets