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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MetricLevelImpact.BuildercontributionMatrix(Consumer<ContributionMatrix.Builder> contributionMatrix)Details about the dimensions that contributed to the anomaly.MetricLevelImpact.BuildercontributionMatrix(ContributionMatrix contributionMatrix)Details about the dimensions that contributed to the anomaly.MetricLevelImpact.BuildermetricName(String metricName)The name of the measure.MetricLevelImpact.BuildernumTimeSeries(Integer numTimeSeries)The number of anomalous metrics for the measure.-
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, sdkFields
-
-
-
-
Method Detail
-
metricName
MetricLevelImpact.Builder metricName(String 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
MetricLevelImpact.Builder numTimeSeries(Integer 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
MetricLevelImpact.Builder contributionMatrix(ContributionMatrix 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:
contributionMatrix(ContributionMatrix)
-
-