Interface DefaultSliderControlOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DefaultSliderControlOptions.Builder,
,DefaultSliderControlOptions> SdkBuilder<DefaultSliderControlOptions.Builder,
,DefaultSliderControlOptions> SdkPojo
- Enclosing class:
DefaultSliderControlOptions
-
Method Summary
Modifier and TypeMethodDescriptiondisplayOptions
(Consumer<SliderControlDisplayOptions.Builder> displayOptions) The display options of a control.displayOptions
(SliderControlDisplayOptions displayOptions) The display options of a control.maximumValue
(Double maximumValue) The larger value that is displayed at the right of the slider.minimumValue
(Double minimumValue) The smaller value that is displayed at the left of the slider.The number of increments that the slider bar is divided into.The type of theDefaultSliderControlOptions
.type
(SheetControlSliderType type) The type of theDefaultSliderControlOptions
.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
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 DefaultSliderControlOptions.Builder displayOptions(Consumer<SliderControlDisplayOptions.Builder> displayOptions) The display options of a control.
This is a convenience method that creates an instance of theSliderControlDisplayOptions.Builder
avoiding the need to create one manually viaSliderControlDisplayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisplayOptions(SliderControlDisplayOptions)
.- Parameters:
displayOptions
- a consumer that will call methods onSliderControlDisplayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the
DefaultSliderControlOptions
. Choose one of the following options:-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
- Parameters:
type
- The type of theDefaultSliderControlOptions
. Choose one of the following options:-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The type of the
DefaultSliderControlOptions
. Choose one of the following options:-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
- Parameters:
type
- The type of theDefaultSliderControlOptions
. Choose one of the following options:-
SINGLE_POINT
: Filter against(equals) a single data point. -
RANGE
: Filter data that is in a specified range.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maximumValue
The larger value that is displayed at the right of the slider.
- Parameters:
maximumValue
- The larger value that is displayed at the right of the slider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumValue
The smaller value that is displayed at the left of the slider.
- Parameters:
minimumValue
- The smaller value that is displayed at the left of the slider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepSize
The number of increments that the slider bar is divided into.
- Parameters:
stepSize
- The number of increments that the slider bar is divided into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-