Interface MetricStreamStatisticsConfiguration.Builder

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

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

    • includeMetrics

      An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

      All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

      Parameters:
      includeMetrics - An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

      All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeMetrics

      An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

      All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

      Parameters:
      includeMetrics - An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

      All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeMetrics

      An array of metric name and namespace pairs that stream the additional statistics listed in the value of the AdditionalStatistics parameter. There can be as many as 100 pairs in the array.

      All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.

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

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

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

      MetricStreamStatisticsConfiguration.Builder additionalStatistics(Collection<String> additionalStatistics)

      The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

      If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

      If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

      Parameters:
      additionalStatistics - The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

      If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

      If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalStatistics

      MetricStreamStatisticsConfiguration.Builder additionalStatistics(String... additionalStatistics)

      The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

      If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

      If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

      Parameters:
      additionalStatistics - The list of additional statistics that are to be streamed for the metrics listed in the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

      If the OutputFormat for the stream is opentelemetry1.0 or opentelemetry0.7, the only valid values are p?? percentile statistics such as p90, p99 and so on.

      If the OutputFormat for the stream is json, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includes tm98, wm90, PR(:300), and so on.

      Returns:
      Returns a reference to this object so that method calls can be chained together.