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