Class CfnTemplate.ContributionAnalysisDefaultProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.ContributionAnalysisDefaultProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ContributionAnalysisDefaultProperty>
- Enclosing interface:
CfnTemplate.ContributionAnalysisDefaultProperty
@Stability(Stable)
public static final class CfnTemplate.ContributionAnalysisDefaultProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ContributionAnalysisDefaultProperty>
A builder for
CfnTemplate.ContributionAnalysisDefaultProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.contributorDimensions
(List<? extends Object> contributorDimensions) contributorDimensions
(IResolvable contributorDimensions) measureFieldId
(String measureFieldId) Sets the value ofCfnTemplate.ContributionAnalysisDefaultProperty.getMeasureFieldId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contributorDimensions
@Stability(Stable) public CfnTemplate.ContributionAnalysisDefaultProperty.Builder contributorDimensions(IResolvable contributorDimensions) - Parameters:
contributorDimensions
- The dimensions columns that are used in the contribution analysis, usually a list ofColumnIdentifiers
. This parameter is required.- Returns:
this
-
contributorDimensions
@Stability(Stable) public CfnTemplate.ContributionAnalysisDefaultProperty.Builder contributorDimensions(List<? extends Object> contributorDimensions) - Parameters:
contributorDimensions
- The dimensions columns that are used in the contribution analysis, usually a list ofColumnIdentifiers
. This parameter is required.- Returns:
this
-
measureFieldId
@Stability(Stable) public CfnTemplate.ContributionAnalysisDefaultProperty.Builder measureFieldId(String measureFieldId) Sets the value ofCfnTemplate.ContributionAnalysisDefaultProperty.getMeasureFieldId()
- Parameters:
measureFieldId
- The measure field that is used in the contribution analysis. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.ContributionAnalysisDefaultProperty>
- Returns:
- a new instance of
CfnTemplate.ContributionAnalysisDefaultProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-