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