Interface DimensionContribution.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DimensionContribution.Builder,DimensionContribution>,SdkBuilder<DimensionContribution.Builder,DimensionContribution>,SdkPojo
- Enclosing class:
- DimensionContribution
public static interface DimensionContribution.Builder extends SdkPojo, CopyableBuilder<DimensionContribution.Builder,DimensionContribution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DimensionContribution.BuilderdimensionName(String dimensionName)The name of the dimension.DimensionContribution.BuilderdimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList)A list of dimension values that contributed to the anomaly.DimensionContribution.BuilderdimensionValueContributionList(Consumer<DimensionValueContribution.Builder>... dimensionValueContributionList)A list of dimension values that contributed to the anomaly.DimensionContribution.BuilderdimensionValueContributionList(DimensionValueContribution... dimensionValueContributionList)A list of dimension values that contributed to the anomaly.-
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
-
dimensionName
DimensionContribution.Builder dimensionName(String dimensionName)
The name of the dimension.
- Parameters:
dimensionName- The name of the dimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionValueContributionList
DimensionContribution.Builder dimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
- Parameters:
dimensionValueContributionList- A list of dimension values that contributed to the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionValueContributionList
DimensionContribution.Builder dimensionValueContributionList(DimensionValueContribution... dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
- Parameters:
dimensionValueContributionList- A list of dimension values that contributed to the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionValueContributionList
DimensionContribution.Builder dimensionValueContributionList(Consumer<DimensionValueContribution.Builder>... dimensionValueContributionList)
A list of dimension values that contributed to the anomaly.
This is a convenience method that creates an instance of theDimensionValueContribution.Builderavoiding the need to create one manually viaDimensionValueContribution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensionValueContributionList(List.) - Parameters:
dimensionValueContributionList- a consumer that will call methods onDimensionValueContribution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dimensionValueContributionList(java.util.Collection)
-
-