Interface PivotTableFieldCollapseStateOption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PivotTableFieldCollapseStateOption.Builder,PivotTableFieldCollapseStateOption>,SdkBuilder<PivotTableFieldCollapseStateOption.Builder,PivotTableFieldCollapseStateOption>,SdkPojo
- Enclosing class:
- PivotTableFieldCollapseStateOption
public static interface PivotTableFieldCollapseStateOption.Builder extends SdkPojo, CopyableBuilder<PivotTableFieldCollapseStateOption.Builder,PivotTableFieldCollapseStateOption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PivotTableFieldCollapseStateOption.Builderstate(String state)The state of the field target of a pivot table.PivotTableFieldCollapseStateOption.Builderstate(PivotTableFieldCollapseState state)The state of the field target of a pivot table.default PivotTableFieldCollapseStateOption.Buildertarget(Consumer<PivotTableFieldCollapseStateTarget.Builder> target)A tagged-union object that sets the collapse state.PivotTableFieldCollapseStateOption.Buildertarget(PivotTableFieldCollapseStateTarget target)A tagged-union object that sets the collapse state.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
target
PivotTableFieldCollapseStateOption.Builder target(PivotTableFieldCollapseStateTarget target)
A tagged-union object that sets the collapse state.
- Parameters:
target- A tagged-union object that sets the collapse state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default PivotTableFieldCollapseStateOption.Builder target(Consumer<PivotTableFieldCollapseStateTarget.Builder> target)
A tagged-union object that sets the collapse state.
This is a convenience method that creates an instance of thePivotTableFieldCollapseStateTarget.Builderavoiding the need to create one manually viaPivotTableFieldCollapseStateTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(PivotTableFieldCollapseStateTarget).- Parameters:
target- a consumer that will call methods onPivotTableFieldCollapseStateTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
target(PivotTableFieldCollapseStateTarget)
-
state
PivotTableFieldCollapseStateOption.Builder state(String state)
The state of the field target of a pivot table. Choose one of the following options:
-
COLLAPSED -
EXPANDED
- Parameters:
state- The state of the field target of a pivot table. Choose one of the following options:-
COLLAPSED -
EXPANDED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PivotTableFieldCollapseState,PivotTableFieldCollapseState
-
-
state
PivotTableFieldCollapseStateOption.Builder state(PivotTableFieldCollapseState state)
The state of the field target of a pivot table. Choose one of the following options:
-
COLLAPSED -
EXPANDED
- Parameters:
state- The state of the field target of a pivot table. Choose one of the following options:-
COLLAPSED -
EXPANDED
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PivotTableFieldCollapseState,PivotTableFieldCollapseState
-
-
-