Class CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ReferenceLineLabelConfigurationProperty>
- Enclosing interface:
CfnDashboard.ReferenceLineLabelConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ReferenceLineLabelConfigurationProperty>
A builder for
CfnDashboard.ReferenceLineLabelConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customLabelConfiguration(IResolvable customLabelConfiguration) customLabelConfiguration(CfnDashboard.ReferenceLineCustomLabelConfigurationProperty customLabelConfiguration) Sets the value ofCfnDashboard.ReferenceLineLabelConfigurationProperty.getFontColor()fontConfiguration(IResolvable fontConfiguration) fontConfiguration(CfnDashboard.FontConfigurationProperty fontConfiguration) horizontalPosition(String horizontalPosition) valueLabelConfiguration(IResolvable valueLabelConfiguration) valueLabelConfiguration(CfnDashboard.ReferenceLineValueLabelConfigurationProperty valueLabelConfiguration) verticalPosition(String verticalPosition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customLabelConfiguration
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder customLabelConfiguration(IResolvable customLabelConfiguration) Sets the value ofCfnDashboard.ReferenceLineLabelConfigurationProperty.getCustomLabelConfiguration()- Parameters:
customLabelConfiguration- The custom label configuration of the label in a reference line.- Returns:
this
-
customLabelConfiguration
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder customLabelConfiguration(CfnDashboard.ReferenceLineCustomLabelConfigurationProperty customLabelConfiguration) Sets the value ofCfnDashboard.ReferenceLineLabelConfigurationProperty.getCustomLabelConfiguration()- Parameters:
customLabelConfiguration- The custom label configuration of the label in a reference line.- Returns:
this
-
fontColor
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder fontColor(String fontColor) Sets the value ofCfnDashboard.ReferenceLineLabelConfigurationProperty.getFontColor()- Parameters:
fontColor- The font color configuration of the label in a reference line.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder fontConfiguration(IResolvable fontConfiguration) - Parameters:
fontConfiguration- The font configuration of the label in a reference line.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder fontConfiguration(CfnDashboard.FontConfigurationProperty fontConfiguration) - Parameters:
fontConfiguration- The font configuration of the label in a reference line.- Returns:
this
-
horizontalPosition
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder horizontalPosition(String horizontalPosition) - Parameters:
horizontalPosition- The horizontal position configuration of the label in a reference line. Choose one of the following options:.LEFTCENTERRIGHT
- Returns:
this
-
valueLabelConfiguration
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder valueLabelConfiguration(IResolvable valueLabelConfiguration) - Parameters:
valueLabelConfiguration- The value label configuration of the label in a reference line.- Returns:
this
-
valueLabelConfiguration
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder valueLabelConfiguration(CfnDashboard.ReferenceLineValueLabelConfigurationProperty valueLabelConfiguration) - Parameters:
valueLabelConfiguration- The value label configuration of the label in a reference line.- Returns:
this
-
verticalPosition
@Stability(Stable) public CfnDashboard.ReferenceLineLabelConfigurationProperty.Builder verticalPosition(String verticalPosition) - Parameters:
verticalPosition- The vertical position configuration of the label in a reference line. Choose one of the following options:.ABOVEBELOW
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.ReferenceLineLabelConfigurationProperty>- Returns:
- a new instance of
CfnDashboard.ReferenceLineLabelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-