Class CfnDashboard.DataLabelTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DataLabelTypeProperty>
- Enclosing interface:
CfnDashboard.DataLabelTypeProperty
@Stability(Stable)
public static final class CfnDashboard.DataLabelTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DataLabelTypeProperty>
A builder for
CfnDashboard.DataLabelTypeProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataPathLabelType
(IResolvable dataPathLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getDataPathLabelType()
dataPathLabelType
(CfnDashboard.DataPathLabelTypeProperty dataPathLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getDataPathLabelType()
fieldLabelType
(IResolvable fieldLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getFieldLabelType()
fieldLabelType
(CfnDashboard.FieldLabelTypeProperty fieldLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getFieldLabelType()
maximumLabelType
(IResolvable maximumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMaximumLabelType()
maximumLabelType
(CfnDashboard.MaximumLabelTypeProperty maximumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMaximumLabelType()
minimumLabelType
(IResolvable minimumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMinimumLabelType()
minimumLabelType
(CfnDashboard.MinimumLabelTypeProperty minimumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMinimumLabelType()
rangeEndsLabelType
(IResolvable rangeEndsLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getRangeEndsLabelType()
rangeEndsLabelType
(CfnDashboard.RangeEndsLabelTypeProperty rangeEndsLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getRangeEndsLabelType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataPathLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder dataPathLabelType(IResolvable dataPathLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getDataPathLabelType()
- Parameters:
dataPathLabelType
- The option that specifies individual data values for labels.- Returns:
this
-
dataPathLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder dataPathLabelType(CfnDashboard.DataPathLabelTypeProperty dataPathLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getDataPathLabelType()
- Parameters:
dataPathLabelType
- The option that specifies individual data values for labels.- Returns:
this
-
fieldLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder fieldLabelType(IResolvable fieldLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getFieldLabelType()
- Parameters:
fieldLabelType
- Determines the label configuration for the entire field.- Returns:
this
-
fieldLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder fieldLabelType(CfnDashboard.FieldLabelTypeProperty fieldLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getFieldLabelType()
- Parameters:
fieldLabelType
- Determines the label configuration for the entire field.- Returns:
this
-
maximumLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder maximumLabelType(IResolvable maximumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMaximumLabelType()
- Parameters:
maximumLabelType
- Determines the label configuration for the maximum value in a visual.- Returns:
this
-
maximumLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder maximumLabelType(CfnDashboard.MaximumLabelTypeProperty maximumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMaximumLabelType()
- Parameters:
maximumLabelType
- Determines the label configuration for the maximum value in a visual.- Returns:
this
-
minimumLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder minimumLabelType(IResolvable minimumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMinimumLabelType()
- Parameters:
minimumLabelType
- Determines the label configuration for the minimum value in a visual.- Returns:
this
-
minimumLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder minimumLabelType(CfnDashboard.MinimumLabelTypeProperty minimumLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getMinimumLabelType()
- Parameters:
minimumLabelType
- Determines the label configuration for the minimum value in a visual.- Returns:
this
-
rangeEndsLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder rangeEndsLabelType(IResolvable rangeEndsLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getRangeEndsLabelType()
- Parameters:
rangeEndsLabelType
- Determines the label configuration for range end value in a visual.- Returns:
this
-
rangeEndsLabelType
@Stability(Stable) public CfnDashboard.DataLabelTypeProperty.Builder rangeEndsLabelType(CfnDashboard.RangeEndsLabelTypeProperty rangeEndsLabelType) Sets the value ofCfnDashboard.DataLabelTypeProperty.getRangeEndsLabelType()
- Parameters:
rangeEndsLabelType
- Determines the label configuration for range end value in a visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DataLabelTypeProperty>
- Returns:
- a new instance of
CfnDashboard.DataLabelTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-