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