Class CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty>
- Enclosing interface:
CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customLabelConfiguration(CfnDashboardPropsMixin.ReferenceLineCustomLabelConfigurationProperty customLabelConfiguration) customLabelConfiguration(IResolvable customLabelConfiguration) fontConfiguration(CfnDashboardPropsMixin.FontConfigurationProperty fontConfiguration) fontConfiguration(IResolvable fontConfiguration) horizontalPosition(String horizontalPosition) valueLabelConfiguration(CfnDashboardPropsMixin.ReferenceLineValueLabelConfigurationProperty valueLabelConfiguration) valueLabelConfiguration(IResolvable valueLabelConfiguration) verticalPosition(String verticalPosition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customLabelConfiguration
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder customLabelConfiguration(IResolvable customLabelConfiguration) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getCustomLabelConfiguration()- Parameters:
customLabelConfiguration- The custom label configuration of the label in a reference line.- Returns:
this
-
customLabelConfiguration
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder customLabelConfiguration(CfnDashboardPropsMixin.ReferenceLineCustomLabelConfigurationProperty customLabelConfiguration) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getCustomLabelConfiguration()- Parameters:
customLabelConfiguration- The custom label configuration of the label in a reference line.- Returns:
this
-
fontColor
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder fontColor(String fontColor) - Parameters:
fontColor- The font color configuration of the label in a reference line.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder fontConfiguration(IResolvable fontConfiguration) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getFontConfiguration()- Parameters:
fontConfiguration- The font configuration of the label in a reference line.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder fontConfiguration(CfnDashboardPropsMixin.FontConfigurationProperty fontConfiguration) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getFontConfiguration()- Parameters:
fontConfiguration- The font configuration of the label in a reference line.- Returns:
this
-
horizontalPosition
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder horizontalPosition(String horizontalPosition) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getHorizontalPosition()- 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 CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder valueLabelConfiguration(IResolvable valueLabelConfiguration) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getValueLabelConfiguration()- Parameters:
valueLabelConfiguration- The value label configuration of the label in a reference line.- Returns:
this
-
valueLabelConfiguration
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder valueLabelConfiguration(CfnDashboardPropsMixin.ReferenceLineValueLabelConfigurationProperty valueLabelConfiguration) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getValueLabelConfiguration()- Parameters:
valueLabelConfiguration- The value label configuration of the label in a reference line.- Returns:
this
-
verticalPosition
@Stability(Stable) public CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.Builder verticalPosition(String verticalPosition) Sets the value ofCfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty.getVerticalPosition()- 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<CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.ReferenceLineLabelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-