Class CfnTemplate.DefaultSliderControlOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DefaultSliderControlOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DefaultSliderControlOptionsProperty>
- Enclosing interface:
CfnTemplate.DefaultSliderControlOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.DefaultSliderControlOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DefaultSliderControlOptionsProperty>
A builder for
CfnTemplate.DefaultSliderControlOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.displayOptions(IResolvable displayOptions) Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getDisplayOptions()displayOptions(CfnTemplate.SliderControlDisplayOptionsProperty displayOptions) Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getDisplayOptions()maximumValue(Number maximumValue) Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getMaximumValue()minimumValue(Number minimumValue) Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getMinimumValue()Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getStepSize()Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumValue
@Stability(Stable) public CfnTemplate.DefaultSliderControlOptionsProperty.Builder maximumValue(Number maximumValue) Sets the value ofCfnTemplate.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 CfnTemplate.DefaultSliderControlOptionsProperty.Builder minimumValue(Number minimumValue) Sets the value ofCfnTemplate.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 CfnTemplate.DefaultSliderControlOptionsProperty.Builder stepSize(Number stepSize) Sets the value ofCfnTemplate.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 CfnTemplate.DefaultSliderControlOptionsProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnTemplate.DefaultSliderControlOptionsProperty.Builder displayOptions(CfnTemplate.SliderControlDisplayOptionsProperty displayOptions) Sets the value ofCfnTemplate.DefaultSliderControlOptionsProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
type
Sets the value ofCfnTemplate.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.DefaultSliderControlOptionsProperty>- Returns:
- a new instance of
CfnTemplate.DefaultSliderControlOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-