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