Class CfnTemplate.PivotTableFieldCollapseStateOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.PivotTableFieldCollapseStateOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PivotTableFieldCollapseStateOptionProperty>
- Enclosing interface:
CfnTemplate.PivotTableFieldCollapseStateOptionProperty
@Stability(Stable)
public static final class CfnTemplate.PivotTableFieldCollapseStateOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PivotTableFieldCollapseStateOptionProperty>
A builder for
CfnTemplate.PivotTableFieldCollapseStateOptionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.PivotTableFieldCollapseStateOptionProperty.getState()
target
(IResolvable target) Sets the value ofCfnTemplate.PivotTableFieldCollapseStateOptionProperty.getTarget()
Sets the value ofCfnTemplate.PivotTableFieldCollapseStateOptionProperty.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
target
@Stability(Stable) public CfnTemplate.PivotTableFieldCollapseStateOptionProperty.Builder target(IResolvable target) Sets the value ofCfnTemplate.PivotTableFieldCollapseStateOptionProperty.getTarget()
- Parameters:
target
- A tagged-union object that sets the collapse state. This parameter is required.- Returns:
this
-
target
@Stability(Stable) public CfnTemplate.PivotTableFieldCollapseStateOptionProperty.Builder target(CfnTemplate.PivotTableFieldCollapseStateTargetProperty target) Sets the value ofCfnTemplate.PivotTableFieldCollapseStateOptionProperty.getTarget()
- Parameters:
target
- A tagged-union object that sets the collapse state. This parameter is required.- Returns:
this
-
state
@Stability(Stable) public CfnTemplate.PivotTableFieldCollapseStateOptionProperty.Builder state(String state) Sets the value ofCfnTemplate.PivotTableFieldCollapseStateOptionProperty.getState()
- Parameters:
state
- The state of the field target of a pivot table. Choose one of the following options:.COLLAPSED
EXPANDED
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.PivotTableFieldCollapseStateOptionProperty>
- Returns:
- a new instance of
CfnTemplate.PivotTableFieldCollapseStateOptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-