Class CfnDashboard.DefaultSliderControlOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DefaultSliderControlOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DefaultSliderControlOptionsProperty>
- Enclosing interface:
CfnDashboard.DefaultSliderControlOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.DefaultSliderControlOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DefaultSliderControlOptionsProperty>
A builder for
CfnDashboard.DefaultSliderControlOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.displayOptions
(IResolvable displayOptions) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getDisplayOptions()
displayOptions
(CfnDashboard.SliderControlDisplayOptionsProperty displayOptions) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getDisplayOptions()
maximumValue
(Number maximumValue) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getMaximumValue()
minimumValue
(Number minimumValue) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getMinimumValue()
Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getStepSize()
Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumValue
@Stability(Stable) public CfnDashboard.DefaultSliderControlOptionsProperty.Builder maximumValue(Number maximumValue) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getMaximumValue()
- Parameters:
maximumValue
- The larger value that is displayed at the right of the slider. This parameter is required.- Returns:
this
-
minimumValue
@Stability(Stable) public CfnDashboard.DefaultSliderControlOptionsProperty.Builder minimumValue(Number minimumValue) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getMinimumValue()
- Parameters:
minimumValue
- The smaller value that is displayed at the left of the slider. This parameter is required.- Returns:
this
-
stepSize
@Stability(Stable) public CfnDashboard.DefaultSliderControlOptionsProperty.Builder stepSize(Number stepSize) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getStepSize()
- Parameters:
stepSize
- The number of increments that the slider bar is divided into. This parameter is required.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.DefaultSliderControlOptionsProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.DefaultSliderControlOptionsProperty.Builder displayOptions(CfnDashboard.SliderControlDisplayOptionsProperty displayOptions) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
type
@Stability(Stable) public CfnDashboard.DefaultSliderControlOptionsProperty.Builder type(String type) Sets the value ofCfnDashboard.DefaultSliderControlOptionsProperty.getType()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DefaultSliderControlOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.DefaultSliderControlOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-