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