Interface MetricLevelImpact.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricLevelImpact.Builder,,MetricLevelImpact> SdkBuilder<MetricLevelImpact.Builder,,MetricLevelImpact> SdkPojo
- Enclosing class:
MetricLevelImpact
public static interface MetricLevelImpact.Builder
extends SdkPojo, CopyableBuilder<MetricLevelImpact.Builder,MetricLevelImpact>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetricLevelImpact.BuildercontributionMatrix(Consumer<ContributionMatrix.Builder> contributionMatrix) Details about the dimensions that contributed to the anomaly.contributionMatrix(ContributionMatrix contributionMatrix) Details about the dimensions that contributed to the anomaly.metricName(String metricName) The name of the measure.numTimeSeries(Integer numTimeSeries) The number of anomalous metrics for the measure.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
-
metricName
The name of the measure.
- Parameters:
metricName- The name of the measure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numTimeSeries
The number of anomalous metrics for the measure.
- Parameters:
numTimeSeries- The number of anomalous metrics for the measure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributionMatrix
Details about the dimensions that contributed to the anomaly.
- Parameters:
contributionMatrix- Details about the dimensions that contributed to the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributionMatrix
default MetricLevelImpact.Builder contributionMatrix(Consumer<ContributionMatrix.Builder> contributionMatrix) Details about the dimensions that contributed to the anomaly.
This is a convenience method that creates an instance of theContributionMatrix.Builderavoiding the need to create one manually viaContributionMatrix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontributionMatrix(ContributionMatrix).- Parameters:
contributionMatrix- a consumer that will call methods onContributionMatrix.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-