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