Class CfnDashboard.DataPathValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DataPathValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DataPathValueProperty>
- Enclosing interface:
CfnDashboard.DataPathValueProperty
@Stability(Stable)
public static final class CfnDashboard.DataPathValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DataPathValueProperty>
A builder for
CfnDashboard.DataPathValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataPathType
(IResolvable dataPathType) Sets the value ofCfnDashboard.DataPathValueProperty.getDataPathType()
dataPathType
(CfnDashboard.DataPathTypeProperty dataPathType) Sets the value ofCfnDashboard.DataPathValueProperty.getDataPathType()
Sets the value ofCfnDashboard.DataPathValueProperty.getFieldId()
fieldValue
(String fieldValue) Sets the value ofCfnDashboard.DataPathValueProperty.getFieldValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataPathType
@Stability(Stable) public CfnDashboard.DataPathValueProperty.Builder dataPathType(IResolvable dataPathType) Sets the value ofCfnDashboard.DataPathValueProperty.getDataPathType()
- Parameters:
dataPathType
- The type configuration of the field.- Returns:
this
-
dataPathType
@Stability(Stable) public CfnDashboard.DataPathValueProperty.Builder dataPathType(CfnDashboard.DataPathTypeProperty dataPathType) Sets the value ofCfnDashboard.DataPathValueProperty.getDataPathType()
- Parameters:
dataPathType
- The type configuration of the field.- Returns:
this
-
fieldId
Sets the value ofCfnDashboard.DataPathValueProperty.getFieldId()
- Parameters:
fieldId
- The field ID of the field that needs to be sorted.- Returns:
this
-
fieldValue
Sets the value ofCfnDashboard.DataPathValueProperty.getFieldValue()
- Parameters:
fieldValue
- The actual value of the field that needs to be sorted.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DataPathValueProperty>
- Returns:
- a new instance of
CfnDashboard.DataPathValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-