Class CfnTemplate.AxisScaleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.AxisScaleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.AxisScaleProperty>
- Enclosing interface:
- CfnTemplate.AxisScaleProperty
@Stability(Stable)
public static final class CfnTemplate.AxisScaleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.AxisScaleProperty>
A builder for
CfnTemplate.AxisScaleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.linear
(IResolvable linear) Sets the value ofCfnTemplate.AxisScaleProperty.getLinear()
Sets the value ofCfnTemplate.AxisScaleProperty.getLinear()
logarithmic
(IResolvable logarithmic) Sets the value ofCfnTemplate.AxisScaleProperty.getLogarithmic()
logarithmic
(CfnTemplate.AxisLogarithmicScaleProperty logarithmic) Sets the value ofCfnTemplate.AxisScaleProperty.getLogarithmic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
linear
Sets the value ofCfnTemplate.AxisScaleProperty.getLinear()
- Parameters:
linear
- The linear axis scale setup.- Returns:
this
-
linear
@Stability(Stable) public CfnTemplate.AxisScaleProperty.Builder linear(CfnTemplate.AxisLinearScaleProperty linear) Sets the value ofCfnTemplate.AxisScaleProperty.getLinear()
- Parameters:
linear
- The linear axis scale setup.- Returns:
this
-
logarithmic
@Stability(Stable) public CfnTemplate.AxisScaleProperty.Builder logarithmic(IResolvable logarithmic) Sets the value ofCfnTemplate.AxisScaleProperty.getLogarithmic()
- Parameters:
logarithmic
- The logarithmic axis scale setup.- Returns:
this
-
logarithmic
@Stability(Stable) public CfnTemplate.AxisScaleProperty.Builder logarithmic(CfnTemplate.AxisLogarithmicScaleProperty logarithmic) Sets the value ofCfnTemplate.AxisScaleProperty.getLogarithmic()
- Parameters:
logarithmic
- The logarithmic axis scale setup.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.AxisScaleProperty>
- Returns:
- a new instance of
CfnTemplate.AxisScaleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-