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
Modifier and TypeMethodDescriptiondimensionName(String dimensionName) The name of the dimension.dimensionValueContributionList(Collection<DimensionValueContribution> dimensionValueContributionList) A list of dimension values that contributed to the anomaly.dimensionValueContributionList(Consumer<DimensionValueContribution.Builder>... dimensionValueContributionList) A list of dimension values that contributed to the anomaly.dimensionValueContributionList(DimensionValueContribution... dimensionValueContributionList) A list of dimension values that contributed to the anomaly.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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 todimensionValueContributionList(List<DimensionValueContribution>).- 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:
-