Interface DefaultFilterDropDownControlOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DefaultFilterDropDownControlOptions.Builder,DefaultFilterDropDownControlOptions>,SdkBuilder<DefaultFilterDropDownControlOptions.Builder,DefaultFilterDropDownControlOptions>,SdkPojo
- Enclosing class:
- DefaultFilterDropDownControlOptions
@Mutable @NotThreadSafe public static interface DefaultFilterDropDownControlOptions.Builder extends SdkPojo, CopyableBuilder<DefaultFilterDropDownControlOptions.Builder,DefaultFilterDropDownControlOptions>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaDropDownControlDisplayOptions.builder().When the
Consumercompletes,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:
displayOptions(DropDownControlDisplayOptions)
-
type
DefaultFilterDropDownControlOptions.Builder type(String 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:
SheetControlListType,SheetControlListType
-
-
type
DefaultFilterDropDownControlOptions.Builder type(SheetControlListType 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:
SheetControlListType,SheetControlListType
-
-
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.Builderavoiding the need to create one manually viaFilterSelectableValues.builder().When the
Consumercompletes,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:
selectableValues(FilterSelectableValues)
-
commitMode
DefaultFilterDropDownControlOptions.Builder commitMode(String commitMode)
The visibility configuration of the Apply button on a
FilterDropDownControl.- Parameters:
commitMode- The visibility configuration of the Apply button on aFilterDropDownControl.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CommitMode,CommitMode
-
commitMode
DefaultFilterDropDownControlOptions.Builder commitMode(CommitMode commitMode)
The visibility configuration of the Apply button on a
FilterDropDownControl.- Parameters:
commitMode- The visibility configuration of the Apply button on aFilterDropDownControl.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CommitMode,CommitMode
-
-