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