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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricStreamStatisticsConfiguration.Builder
additionalStatistics(String... additionalStatistics)
The list of additional statistics that are to be streamed for the metrics listed in theIncludeMetrics
array in this structure.MetricStreamStatisticsConfiguration.Builder
additionalStatistics(Collection<String> additionalStatistics)
The list of additional statistics that are to be streamed for the metrics listed in theIncludeMetrics
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 theAdditionalStatistics
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 theAdditionalStatistics
parameter.MetricStreamStatisticsConfiguration.Builder
includeMetrics(MetricStreamStatisticsMetric... includeMetrics)
An array of metric name and namespace pairs that stream the additional statistics listed in the value of theAdditionalStatistics
parameter.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
includeMetrics
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.
- Parameters:
includeMetrics
- An array of metric name and namespace pairs that stream the additional statistics listed in the value of theAdditionalStatistics
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
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.
- Parameters:
includeMetrics
- An array of metric name and namespace pairs that stream the additional statistics listed in the value of theAdditionalStatistics
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
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 viaMetricStreamStatisticsMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#includeMetrics(List
.) - Parameters:
includeMetrics
- a consumer that will call methods onMetricStreamStatisticsMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#includeMetrics(java.util.Collection
)
-
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 isopentelemetry1.0
oropentelemetry0.7
, the only valid values arep??
percentile statistics such asp90
,p99
and so on.If the
OutputFormat
for the stream isjson
, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includestm98,
wm90
,PR(:300)
, and so on.- Parameters:
additionalStatistics
- The list of additional statistics that are to be streamed for the metrics listed in theIncludeMetrics
array in this structure. This list can include as many as 20 statistics.If the
OutputFormat
for the stream isopentelemetry1.0
oropentelemetry0.7
, the only valid values arep??
percentile statistics such asp90
,p99
and so on.If the
OutputFormat
for the stream isjson
, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includestm98,
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 isopentelemetry1.0
oropentelemetry0.7
, the only valid values arep??
percentile statistics such asp90
,p99
and so on.If the
OutputFormat
for the stream isjson
, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includestm98,
wm90
,PR(:300)
, and so on.- Parameters:
additionalStatistics
- The list of additional statistics that are to be streamed for the metrics listed in theIncludeMetrics
array in this structure. This list can include as many as 20 statistics.If the
OutputFormat
for the stream isopentelemetry1.0
oropentelemetry0.7
, the only valid values arep??
percentile statistics such asp90
,p99
and so on.If the
OutputFormat
for the stream isjson
, the valid values include the abbreviations for all of the statistics listed in CloudWatch statistics definitions. For example, this includestm98,
wm90
,PR(:300)
, and so on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-