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