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