Interface PerformanceInsightsReferenceMetric.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<PerformanceInsightsReferenceMetric.Builder,,PerformanceInsightsReferenceMetric> SdkBuilder<PerformanceInsightsReferenceMetric.Builder,,PerformanceInsightsReferenceMetric> SdkPojo
- Enclosing class:
 PerformanceInsightsReferenceMetric
public static interface PerformanceInsightsReferenceMetric.Builder
extends SdkPojo, CopyableBuilder<PerformanceInsightsReferenceMetric.Builder,PerformanceInsightsReferenceMetric> 
- 
Method Summary
Modifier and TypeMethodDescriptionmetricQuery(Consumer<PerformanceInsightsMetricQuery.Builder> metricQuery) A query to be processed on the metric.metricQuery(PerformanceInsightsMetricQuery metricQuery) A query to be processed on the metric.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
- 
metricQuery
A query to be processed on the metric.
- Parameters:
 metricQuery- A query to be processed on the metric.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
metricQuery
default PerformanceInsightsReferenceMetric.Builder metricQuery(Consumer<PerformanceInsightsMetricQuery.Builder> metricQuery) A query to be processed on the metric.
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 tometricQuery(PerformanceInsightsMetricQuery).- Parameters:
 metricQuery- 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:
 
 
 -