Class CfnTemplate.AxisDataOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.AxisDataOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.AxisDataOptionsProperty>
- Enclosing interface:
CfnTemplate.AxisDataOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.AxisDataOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.AxisDataOptionsProperty>
A builder for
CfnTemplate.AxisDataOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateAxisOptions
(IResolvable dateAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getDateAxisOptions()
dateAxisOptions
(CfnTemplate.DateAxisOptionsProperty dateAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getDateAxisOptions()
numericAxisOptions
(IResolvable numericAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getNumericAxisOptions()
numericAxisOptions
(CfnTemplate.NumericAxisOptionsProperty numericAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getNumericAxisOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateAxisOptions
@Stability(Stable) public CfnTemplate.AxisDataOptionsProperty.Builder dateAxisOptions(IResolvable dateAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getDateAxisOptions()
- Parameters:
dateAxisOptions
- The options for an axis with a date field.- Returns:
this
-
dateAxisOptions
@Stability(Stable) public CfnTemplate.AxisDataOptionsProperty.Builder dateAxisOptions(CfnTemplate.DateAxisOptionsProperty dateAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getDateAxisOptions()
- Parameters:
dateAxisOptions
- The options for an axis with a date field.- Returns:
this
-
numericAxisOptions
@Stability(Stable) public CfnTemplate.AxisDataOptionsProperty.Builder numericAxisOptions(IResolvable numericAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getNumericAxisOptions()
- Parameters:
numericAxisOptions
- The options for an axis with a numeric field.- Returns:
this
-
numericAxisOptions
@Stability(Stable) public CfnTemplate.AxisDataOptionsProperty.Builder numericAxisOptions(CfnTemplate.NumericAxisOptionsProperty numericAxisOptions) Sets the value ofCfnTemplate.AxisDataOptionsProperty.getNumericAxisOptions()
- Parameters:
numericAxisOptions
- The options for an axis with a numeric field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.AxisDataOptionsProperty>
- Returns:
- a new instance of
CfnTemplate.AxisDataOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-