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