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