Class CfnDashboard.AxisLabelOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.AxisLabelOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.AxisLabelOptionsProperty>
- Enclosing interface:
CfnDashboard.AxisLabelOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.AxisLabelOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.AxisLabelOptionsProperty>
A builder for
CfnDashboard.AxisLabelOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplyTo
(IResolvable applyTo) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getApplyTo()
Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getApplyTo()
build()
Builds the configured instance.customLabel
(String customLabel) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getCustomLabel()
fontConfiguration
(IResolvable fontConfiguration) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getFontConfiguration()
fontConfiguration
(CfnDashboard.FontConfigurationProperty fontConfiguration) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getFontConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applyTo
@Stability(Stable) public CfnDashboard.AxisLabelOptionsProperty.Builder applyTo(IResolvable applyTo) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getApplyTo()
- Parameters:
applyTo
- The options that indicate which field the label belongs to.- Returns:
this
-
applyTo
@Stability(Stable) public CfnDashboard.AxisLabelOptionsProperty.Builder applyTo(CfnDashboard.AxisLabelReferenceOptionsProperty applyTo) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getApplyTo()
- Parameters:
applyTo
- The options that indicate which field the label belongs to.- Returns:
this
-
customLabel
@Stability(Stable) public CfnDashboard.AxisLabelOptionsProperty.Builder customLabel(String customLabel) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getCustomLabel()
- Parameters:
customLabel
- The text for the axis label.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnDashboard.AxisLabelOptionsProperty.Builder fontConfiguration(IResolvable fontConfiguration) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getFontConfiguration()
- Parameters:
fontConfiguration
- The font configuration of the axis label.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnDashboard.AxisLabelOptionsProperty.Builder fontConfiguration(CfnDashboard.FontConfigurationProperty fontConfiguration) Sets the value ofCfnDashboard.AxisLabelOptionsProperty.getFontConfiguration()
- Parameters:
fontConfiguration
- The font configuration of the axis label.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.AxisLabelOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.AxisLabelOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-