Interface PerformanceInsightsReferenceComparisonValues.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<PerformanceInsightsReferenceComparisonValues.Builder,,PerformanceInsightsReferenceComparisonValues> SdkBuilder<PerformanceInsightsReferenceComparisonValues.Builder,,PerformanceInsightsReferenceComparisonValues> SdkPojo
- Enclosing class:
 PerformanceInsightsReferenceComparisonValues
- 
Method Summary
Modifier and TypeMethodDescriptionreferenceMetric(Consumer<PerformanceInsightsReferenceMetric.Builder> referenceMetric) A metric that DevOps Guru compares to actual metric values.referenceMetric(PerformanceInsightsReferenceMetric referenceMetric) A metric that DevOps Guru compares to actual metric values.referenceScalar(Consumer<PerformanceInsightsReferenceScalar.Builder> referenceScalar) A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values.referenceScalar(PerformanceInsightsReferenceScalar referenceScalar) A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values.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
- 
referenceScalar
PerformanceInsightsReferenceComparisonValues.Builder referenceScalar(PerformanceInsightsReferenceScalar referenceScalar) A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values. This reference value is used to determine if an actual metric value should be considered anomalous.
- Parameters:
 referenceScalar- A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values. This reference value is used to determine if an actual metric value should be considered anomalous.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
referenceScalar
default PerformanceInsightsReferenceComparisonValues.Builder referenceScalar(Consumer<PerformanceInsightsReferenceScalar.Builder> referenceScalar) A scalar value DevOps Guru for a metric that DevOps Guru compares to actual metric values. This reference value is used to determine if an actual metric value should be considered anomalous.
This is a convenience method that creates an instance of thePerformanceInsightsReferenceScalar.Builderavoiding the need to create one manually viaPerformanceInsightsReferenceScalar.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferenceScalar(PerformanceInsightsReferenceScalar).- Parameters:
 referenceScalar- a consumer that will call methods onPerformanceInsightsReferenceScalar.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
referenceMetric
PerformanceInsightsReferenceComparisonValues.Builder referenceMetric(PerformanceInsightsReferenceMetric referenceMetric) A metric that DevOps Guru compares to actual metric values. This reference metric is used to determine if an actual metric should be considered anomalous.
- Parameters:
 referenceMetric- A metric that DevOps Guru compares to actual metric values. This reference metric is used to determine if an actual metric should be considered anomalous.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
referenceMetric
default PerformanceInsightsReferenceComparisonValues.Builder referenceMetric(Consumer<PerformanceInsightsReferenceMetric.Builder> referenceMetric) A metric that DevOps Guru compares to actual metric values. This reference metric is used to determine if an actual metric should be considered anomalous.
This is a convenience method that creates an instance of thePerformanceInsightsReferenceMetric.Builderavoiding the need to create one manually viaPerformanceInsightsReferenceMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferenceMetric(PerformanceInsightsReferenceMetric).- Parameters:
 referenceMetric- a consumer that will call methods onPerformanceInsightsReferenceMetric.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -