Class CfnAnalysis.ReferenceLineProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ReferenceLineProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ReferenceLineProperty>
- Enclosing interface:
CfnAnalysis.ReferenceLineProperty
@Stability(Stable)
public static final class CfnAnalysis.ReferenceLineProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ReferenceLineProperty>
A builder for
CfnAnalysis.ReferenceLineProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataConfiguration
(IResolvable dataConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getDataConfiguration()
dataConfiguration
(CfnAnalysis.ReferenceLineDataConfigurationProperty dataConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getDataConfiguration()
labelConfiguration
(IResolvable labelConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getLabelConfiguration()
labelConfiguration
(CfnAnalysis.ReferenceLineLabelConfigurationProperty labelConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getLabelConfiguration()
Sets the value ofCfnAnalysis.ReferenceLineProperty.getStatus()
styleConfiguration
(IResolvable styleConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getStyleConfiguration()
styleConfiguration
(CfnAnalysis.ReferenceLineStyleConfigurationProperty styleConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getStyleConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataConfiguration
@Stability(Stable) public CfnAnalysis.ReferenceLineProperty.Builder dataConfiguration(IResolvable dataConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getDataConfiguration()
- Parameters:
dataConfiguration
- The data configuration of the reference line. This parameter is required.- Returns:
this
-
dataConfiguration
@Stability(Stable) public CfnAnalysis.ReferenceLineProperty.Builder dataConfiguration(CfnAnalysis.ReferenceLineDataConfigurationProperty dataConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getDataConfiguration()
- Parameters:
dataConfiguration
- The data configuration of the reference line. This parameter is required.- Returns:
this
-
labelConfiguration
@Stability(Stable) public CfnAnalysis.ReferenceLineProperty.Builder labelConfiguration(IResolvable labelConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getLabelConfiguration()
- Parameters:
labelConfiguration
- The label configuration of the reference line.- Returns:
this
-
labelConfiguration
@Stability(Stable) public CfnAnalysis.ReferenceLineProperty.Builder labelConfiguration(CfnAnalysis.ReferenceLineLabelConfigurationProperty labelConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getLabelConfiguration()
- Parameters:
labelConfiguration
- The label configuration of the reference line.- Returns:
this
-
status
Sets the value ofCfnAnalysis.ReferenceLineProperty.getStatus()
- Parameters:
status
- The status of the reference line. Choose one of the following options:.ENABLE
DISABLE
- Returns:
this
-
styleConfiguration
@Stability(Stable) public CfnAnalysis.ReferenceLineProperty.Builder styleConfiguration(IResolvable styleConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getStyleConfiguration()
- Parameters:
styleConfiguration
- The style configuration of the reference line.- Returns:
this
-
styleConfiguration
@Stability(Stable) public CfnAnalysis.ReferenceLineProperty.Builder styleConfiguration(CfnAnalysis.ReferenceLineStyleConfigurationProperty styleConfiguration) Sets the value ofCfnAnalysis.ReferenceLineProperty.getStyleConfiguration()
- Parameters:
styleConfiguration
- The style configuration of the reference line.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ReferenceLineProperty>
- Returns:
- a new instance of
CfnAnalysis.ReferenceLineProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-