Interface MetricStreamStatisticsConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricStreamStatisticsConfiguration.Builder,,MetricStreamStatisticsConfiguration> SdkBuilder<MetricStreamStatisticsConfiguration.Builder,,MetricStreamStatisticsConfiguration> SdkPojo
- Enclosing class:
MetricStreamStatisticsConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionadditionalStatistics(String... additionalStatistics) The list of additional statistics that are to be streamed for the metrics listed in theIncludeMetricsarray in this structure.additionalStatistics(Collection<String> additionalStatistics) The list of additional statistics that are to be streamed for the metrics listed in theIncludeMetricsarray in this structure.includeMetrics(Collection<MetricStreamStatisticsMetric> includeMetrics) An array of metric name and namespace pairs that stream the additional statistics listed in the value of theAdditionalStatisticsparameter.includeMetrics(Consumer<MetricStreamStatisticsMetric.Builder>... includeMetrics) An array of metric name and namespace pairs that stream the additional statistics listed in the value of theAdditionalStatisticsparameter.includeMetrics(MetricStreamStatisticsMetric... includeMetrics) An array of metric name and namespace pairs that stream the additional statistics listed in the value of theAdditionalStatisticsparameter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
AdditionalStatisticsparameter. 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 theAdditionalStatisticsparameter. 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
AdditionalStatisticsparameter. 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 theAdditionalStatisticsparameter. 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
AdditionalStatisticsparameter. 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.Builderavoiding the need to create one manually viaMetricStreamStatisticsMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincludeMetrics(List<MetricStreamStatisticsMetric>).- 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:
-
additionalStatistics
MetricStreamStatisticsConfiguration.Builder additionalStatistics(Collection<String> additionalStatistics) The list of additional statistics that are to be streamed for the metrics listed in the
IncludeMetricsarray in this structure. This list can include as many as 20 statistics.If the
OutputFormatfor the stream isopentelemetry1.0oropentelemetry0.7, the only valid values arep??percentile statistics such asp90,p99and so on.If the
OutputFormatfor 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 theIncludeMetricsarray in this structure. This list can include as many as 20 statistics.If the
OutputFormatfor the stream isopentelemetry1.0oropentelemetry0.7, the only valid values arep??percentile statistics such asp90,p99and so on.If the
OutputFormatfor 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
The list of additional statistics that are to be streamed for the metrics listed in the
IncludeMetricsarray in this structure. This list can include as many as 20 statistics.If the
OutputFormatfor the stream isopentelemetry1.0oropentelemetry0.7, the only valid values arep??percentile statistics such asp90,p99and so on.If the
OutputFormatfor 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 theIncludeMetricsarray in this structure. This list can include as many as 20 statistics.If the
OutputFormatfor the stream isopentelemetry1.0oropentelemetry0.7, the only valid values arep??percentile statistics such asp90,p99and so on.If the
OutputFormatfor 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.
-