public static interface MetricStreamStatisticsConfiguration.Builder extends SdkPojo, CopyableBuilder<MetricStreamStatisticsConfiguration.Builder,MetricStreamStatisticsConfiguration>
Modifier and Type | Method and Description |
---|---|
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. |
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. |
MetricStreamStatisticsConfiguration.Builder |
includeMetrics(Collection<MetricStreamStatisticsMetric> includeMetrics)
An array of metric name and namespace pairs that stream the additional statistics listed in the value of the
AdditionalStatistics parameter. |
MetricStreamStatisticsConfiguration.Builder |
includeMetrics(Consumer<MetricStreamStatisticsMetric.Builder>... includeMetrics)
An array of metric name and namespace pairs that stream the additional statistics listed in the value of the
AdditionalStatistics parameter. |
MetricStreamStatisticsConfiguration.Builder |
includeMetrics(MetricStreamStatisticsMetric... includeMetrics)
An array of metric name and namespace pairs that stream the additional statistics listed in the value of the
AdditionalStatistics parameter. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
MetricStreamStatisticsConfiguration.Builder includeMetrics(Collection<MetricStreamStatisticsMetric> 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.
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.
MetricStreamStatisticsConfiguration.Builder includeMetrics(MetricStreamStatisticsMetric... 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.
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.
MetricStreamStatisticsConfiguration.Builder includeMetrics(Consumer<MetricStreamStatisticsMetric.Builder>... 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 theMetricStreamStatisticsMetric.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
.
includeMetrics
- a consumer that will call methods on
MetricStreamStatisticsMetric.Builder
#includeMetrics(java.util.Collection)
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 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.
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 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.
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 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.
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 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.
Copyright © 2023. All rights reserved.