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