Interface MonitoredRequestCountMetricDataQueries.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MonitoredRequestCountMetricDataQueries.Builder,
,MonitoredRequestCountMetricDataQueries> SdkBuilder<MonitoredRequestCountMetricDataQueries.Builder,
,MonitoredRequestCountMetricDataQueries> SdkPojo
- Enclosing class:
MonitoredRequestCountMetricDataQueries
-
Method Summary
Modifier and TypeMethodDescriptionbadCountMetric
(Collection<MetricDataQuery> badCountMetric) If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.badCountMetric
(Consumer<MetricDataQuery.Builder>... badCountMetric) If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.badCountMetric
(MetricDataQuery... badCountMetric) If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.goodCountMetric
(Collection<MetricDataQuery> goodCountMetric) If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.goodCountMetric
(Consumer<MetricDataQuery.Builder>... goodCountMetric) If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.goodCountMetric
(MetricDataQuery... goodCountMetric) If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.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, sdkFieldNameToField, sdkFields
-
Method Details
-
goodCountMetric
MonitoredRequestCountMetricDataQueries.Builder goodCountMetric(Collection<MetricDataQuery> goodCountMetric) If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.
- Parameters:
goodCountMetric
- If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goodCountMetric
If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.
- Parameters:
goodCountMetric
- If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goodCountMetric
MonitoredRequestCountMetricDataQueries.Builder goodCountMetric(Consumer<MetricDataQuery.Builder>... goodCountMetric) If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.
This is a convenience method that creates an instance of theMetricDataQuery.Builder
avoiding the need to create one manually viaMetricDataQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togoodCountMetric(List<MetricDataQuery>)
.- Parameters:
goodCountMetric
- a consumer that will call methods onMetricDataQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
badCountMetric
MonitoredRequestCountMetricDataQueries.Builder badCountMetric(Collection<MetricDataQuery> badCountMetric) If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.
- Parameters:
badCountMetric
- If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
badCountMetric
If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.
- Parameters:
badCountMetric
- If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
badCountMetric
MonitoredRequestCountMetricDataQueries.Builder badCountMetric(Consumer<MetricDataQuery.Builder>... badCountMetric) If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.
This is a convenience method that creates an instance of theMetricDataQuery.Builder
avoiding the need to create one manually viaMetricDataQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobadCountMetric(List<MetricDataQuery>)
.- Parameters:
badCountMetric
- a consumer that will call methods onMetricDataQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-