Interface MetricQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricQuery.Builder,,MetricQuery> SdkBuilder<MetricQuery.Builder,,MetricQuery> SdkPojo
- Enclosing class:
MetricQuery
@Mutable
@NotThreadSafe
public static interface MetricQuery.Builder
extends SdkPojo, CopyableBuilder<MetricQuery.Builder,MetricQuery>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetricQuery.BuilderperformanceInsightsMetricQuery(Consumer<PerformanceInsightsMetricQuery.Builder> performanceInsightsMetricQuery) The Performance Insights query that you can use to retrieve Performance Insights metric data points.performanceInsightsMetricQuery(PerformanceInsightsMetricQuery performanceInsightsMetricQuery) The Performance Insights query that you can use to retrieve Performance Insights metric data points.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, sdkFieldNameToField, sdkFields
-
Method Details
-
performanceInsightsMetricQuery
MetricQuery.Builder performanceInsightsMetricQuery(PerformanceInsightsMetricQuery performanceInsightsMetricQuery) The Performance Insights query that you can use to retrieve Performance Insights metric data points.
- Parameters:
performanceInsightsMetricQuery- The Performance Insights query that you can use to retrieve Performance Insights metric data points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsMetricQuery
default MetricQuery.Builder performanceInsightsMetricQuery(Consumer<PerformanceInsightsMetricQuery.Builder> performanceInsightsMetricQuery) The Performance Insights query that you can use to retrieve Performance Insights metric data points.
This is a convenience method that creates an instance of thePerformanceInsightsMetricQuery.Builderavoiding the need to create one manually viaPerformanceInsightsMetricQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformanceInsightsMetricQuery(PerformanceInsightsMetricQuery).- Parameters:
performanceInsightsMetricQuery- a consumer that will call methods onPerformanceInsightsMetricQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-