Interface DefaultFilterDropDownControlOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DefaultFilterDropDownControlOptions.Builder,
,DefaultFilterDropDownControlOptions> SdkBuilder<DefaultFilterDropDownControlOptions.Builder,
,DefaultFilterDropDownControlOptions> SdkPojo
- Enclosing class:
DefaultFilterDropDownControlOptions
-
Method Summary
Modifier and TypeMethodDescriptiondisplayOptions
(Consumer<DropDownControlDisplayOptions.Builder> displayOptions) The display options of a control.displayOptions
(DropDownControlDisplayOptions displayOptions) The display options of a control.selectableValues
(Consumer<FilterSelectableValues.Builder> selectableValues) A list of selectable values that are used in a control.selectableValues
(FilterSelectableValues selectableValues) A list of selectable values that are used in a control.The type of theFilterDropDownControl
.type
(SheetControlListType type) The type of theFilterDropDownControl
.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 Details
-
displayOptions
DefaultFilterDropDownControlOptions.Builder displayOptions(DropDownControlDisplayOptions displayOptions) The display options of a control.
- Parameters:
displayOptions
- The display options of a control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayOptions
default DefaultFilterDropDownControlOptions.Builder displayOptions(Consumer<DropDownControlDisplayOptions.Builder> displayOptions) The display options of a control.
This is a convenience method that creates an instance of theDropDownControlDisplayOptions.Builder
avoiding the need to create one manually viaDropDownControlDisplayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisplayOptions(DropDownControlDisplayOptions)
.- Parameters:
displayOptions
- a consumer that will call methods onDropDownControlDisplayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the
FilterDropDownControl
. Choose one of the following options:-
MULTI_SELECT
: The user can select multiple entries from a dropdown menu. -
SINGLE_SELECT
: The user can select a single entry from a dropdown menu.
- Parameters:
type
- The type of theFilterDropDownControl
. Choose one of the following options:-
MULTI_SELECT
: The user can select multiple entries from a dropdown menu. -
SINGLE_SELECT
: The user can select a single entry from a dropdown menu.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of the
FilterDropDownControl
. Choose one of the following options:-
MULTI_SELECT
: The user can select multiple entries from a dropdown menu. -
SINGLE_SELECT
: The user can select a single entry from a dropdown menu.
- Parameters:
type
- The type of theFilterDropDownControl
. Choose one of the following options:-
MULTI_SELECT
: The user can select multiple entries from a dropdown menu. -
SINGLE_SELECT
: The user can select a single entry from a dropdown menu.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
selectableValues
DefaultFilterDropDownControlOptions.Builder selectableValues(FilterSelectableValues selectableValues) A list of selectable values that are used in a control.
- Parameters:
selectableValues
- A list of selectable values that are used in a control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectableValues
default DefaultFilterDropDownControlOptions.Builder selectableValues(Consumer<FilterSelectableValues.Builder> selectableValues) A list of selectable values that are used in a control.
This is a convenience method that creates an instance of theFilterSelectableValues.Builder
avoiding the need to create one manually viaFilterSelectableValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselectableValues(FilterSelectableValues)
.- Parameters:
selectableValues
- a consumer that will call methods onFilterSelectableValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-