Class CfnAnalysis.ComparisonConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ComparisonConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ComparisonConfigurationProperty>
- Enclosing interface:
CfnAnalysis.ComparisonConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.ComparisonConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ComparisonConfigurationProperty>
A builder for
CfnAnalysis.ComparisonConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.comparisonFormat
(IResolvable comparisonFormat) Sets the value ofCfnAnalysis.ComparisonConfigurationProperty.getComparisonFormat()
comparisonFormat
(CfnAnalysis.ComparisonFormatConfigurationProperty comparisonFormat) Sets the value ofCfnAnalysis.ComparisonConfigurationProperty.getComparisonFormat()
comparisonMethod
(String comparisonMethod) Sets the value ofCfnAnalysis.ComparisonConfigurationProperty.getComparisonMethod()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comparisonFormat
@Stability(Stable) public CfnAnalysis.ComparisonConfigurationProperty.Builder comparisonFormat(IResolvable comparisonFormat) Sets the value ofCfnAnalysis.ComparisonConfigurationProperty.getComparisonFormat()
- Parameters:
comparisonFormat
- The format of the comparison.- Returns:
this
-
comparisonFormat
@Stability(Stable) public CfnAnalysis.ComparisonConfigurationProperty.Builder comparisonFormat(CfnAnalysis.ComparisonFormatConfigurationProperty comparisonFormat) Sets the value ofCfnAnalysis.ComparisonConfigurationProperty.getComparisonFormat()
- Parameters:
comparisonFormat
- The format of the comparison.- Returns:
this
-
comparisonMethod
@Stability(Stable) public CfnAnalysis.ComparisonConfigurationProperty.Builder comparisonMethod(String comparisonMethod) Sets the value ofCfnAnalysis.ComparisonConfigurationProperty.getComparisonMethod()
- Parameters:
comparisonMethod
- The method of the comparison. Choose from the following options:.DIFFERENCE
PERCENT_DIFFERENCE
PERCENT
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ComparisonConfigurationProperty>
- Returns:
- a new instance of
CfnAnalysis.ComparisonConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-