Class CfnAnalysis.ParameterSliderControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ParameterSliderControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ParameterSliderControlProperty>
- Enclosing interface:
CfnAnalysis.ParameterSliderControlProperty
@Stability(Stable)
public static final class CfnAnalysis.ParameterSliderControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ParameterSliderControlProperty>
A builder for
CfnAnalysis.ParameterSliderControlProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.displayOptions
(IResolvable displayOptions) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getDisplayOptions()
displayOptions
(CfnAnalysis.SliderControlDisplayOptionsProperty displayOptions) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getDisplayOptions()
maximumValue
(Number maximumValue) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getMaximumValue()
minimumValue
(Number minimumValue) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getMinimumValue()
parameterControlId
(String parameterControlId) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getParameterControlId()
sourceParameterName
(String sourceParameterName) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getSourceParameterName()
Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getStepSize()
Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumValue
@Stability(Stable) public CfnAnalysis.ParameterSliderControlProperty.Builder maximumValue(Number maximumValue) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.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.ParameterSliderControlProperty.Builder minimumValue(Number minimumValue) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getMinimumValue()
- Parameters:
minimumValue
- The smaller value that is displayed at the left of the slider. This parameter is required.- Returns:
this
-
parameterControlId
@Stability(Stable) public CfnAnalysis.ParameterSliderControlProperty.Builder parameterControlId(String parameterControlId) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getParameterControlId()
- Parameters:
parameterControlId
- The ID of theParameterSliderControl
. This parameter is required.- Returns:
this
-
sourceParameterName
@Stability(Stable) public CfnAnalysis.ParameterSliderControlProperty.Builder sourceParameterName(String sourceParameterName) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getSourceParameterName()
- Parameters:
sourceParameterName
- The source parameter name of theParameterSliderControl
. This parameter is required.- Returns:
this
-
stepSize
@Stability(Stable) public CfnAnalysis.ParameterSliderControlProperty.Builder stepSize(Number stepSize) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.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.ParameterSliderControlProperty.getTitle()
- Parameters:
title
- The title of theParameterSliderControl
. This parameter is required.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnAnalysis.ParameterSliderControlProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnAnalysis.ParameterSliderControlProperty.Builder displayOptions(CfnAnalysis.SliderControlDisplayOptionsProperty displayOptions) Sets the value ofCfnAnalysis.ParameterSliderControlProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ParameterSliderControlProperty>
- Returns:
- a new instance of
CfnAnalysis.ParameterSliderControlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-