Class CfnAnalysis.ContributionAnalysisDefaultProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ContributionAnalysisDefaultProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ContributionAnalysisDefaultProperty>
- Enclosing interface:
CfnAnalysis.ContributionAnalysisDefaultProperty
@Stability(Stable)
public static final class CfnAnalysis.ContributionAnalysisDefaultProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ContributionAnalysisDefaultProperty>
A builder for
CfnAnalysis.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 ofCfnAnalysis.ContributionAnalysisDefaultProperty.getMeasureFieldId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contributorDimensions
@Stability(Stable) public CfnAnalysis.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 CfnAnalysis.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 CfnAnalysis.ContributionAnalysisDefaultProperty.Builder measureFieldId(String measureFieldId) Sets the value ofCfnAnalysis.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<CfnAnalysis.ContributionAnalysisDefaultProperty>
- Returns:
- a new instance of
CfnAnalysis.ContributionAnalysisDefaultProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-