Class CfnAnalysis.ParameterControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ParameterControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ParameterControlProperty>
- Enclosing interface:
CfnAnalysis.ParameterControlProperty
@Stability(Stable)
public static final class CfnAnalysis.ParameterControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ParameterControlProperty>
A builder for
CfnAnalysis.ParameterControlProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateTimePicker
(IResolvable dateTimePicker) Sets the value ofCfnAnalysis.ParameterControlProperty.getDateTimePicker()
dateTimePicker
(CfnAnalysis.ParameterDateTimePickerControlProperty dateTimePicker) Sets the value ofCfnAnalysis.ParameterControlProperty.getDateTimePicker()
dropdown
(IResolvable dropdown) Sets the value ofCfnAnalysis.ParameterControlProperty.getDropdown()
Sets the value ofCfnAnalysis.ParameterControlProperty.getDropdown()
list
(IResolvable list) Sets the value ofCfnAnalysis.ParameterControlProperty.getList()
Sets the value ofCfnAnalysis.ParameterControlProperty.getList()
slider
(IResolvable slider) Sets the value ofCfnAnalysis.ParameterControlProperty.getSlider()
Sets the value ofCfnAnalysis.ParameterControlProperty.getSlider()
textArea
(IResolvable textArea) Sets the value ofCfnAnalysis.ParameterControlProperty.getTextArea()
Sets the value ofCfnAnalysis.ParameterControlProperty.getTextArea()
textField
(IResolvable textField) Sets the value ofCfnAnalysis.ParameterControlProperty.getTextField()
Sets the value ofCfnAnalysis.ParameterControlProperty.getTextField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateTimePicker
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder dateTimePicker(IResolvable dateTimePicker) Sets the value ofCfnAnalysis.ParameterControlProperty.getDateTimePicker()
- Parameters:
dateTimePicker
- A control from a date parameter that specifies date and time.- Returns:
this
-
dateTimePicker
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder dateTimePicker(CfnAnalysis.ParameterDateTimePickerControlProperty dateTimePicker) Sets the value ofCfnAnalysis.ParameterControlProperty.getDateTimePicker()
- Parameters:
dateTimePicker
- A control from a date parameter that specifies date and time.- Returns:
this
-
dropdown
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder dropdown(IResolvable dropdown) Sets the value ofCfnAnalysis.ParameterControlProperty.getDropdown()
- Parameters:
dropdown
- A control to display a dropdown list with buttons that are used to select a single value.- Returns:
this
-
dropdown
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder dropdown(CfnAnalysis.ParameterDropDownControlProperty dropdown) Sets the value ofCfnAnalysis.ParameterControlProperty.getDropdown()
- Parameters:
dropdown
- A control to display a dropdown list with buttons that are used to select a single value.- Returns:
this
-
list
Sets the value ofCfnAnalysis.ParameterControlProperty.getList()
- Parameters:
list
- A control to display a list with buttons or boxes that are used to select either a single value or multiple values.- Returns:
this
-
list
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder list(CfnAnalysis.ParameterListControlProperty list) Sets the value ofCfnAnalysis.ParameterControlProperty.getList()
- Parameters:
list
- A control to display a list with buttons or boxes that are used to select either a single value or multiple values.- Returns:
this
-
slider
Sets the value ofCfnAnalysis.ParameterControlProperty.getSlider()
- Parameters:
slider
- A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.- Returns:
this
-
slider
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder slider(CfnAnalysis.ParameterSliderControlProperty slider) Sets the value ofCfnAnalysis.ParameterControlProperty.getSlider()
- Parameters:
slider
- A control to display a horizontal toggle bar. This is used to change a value by sliding the toggle.- Returns:
this
-
textArea
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder textArea(IResolvable textArea) Sets the value ofCfnAnalysis.ParameterControlProperty.getTextArea()
- Parameters:
textArea
- A control to display a text box that is used to enter multiple entries.- Returns:
this
-
textArea
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder textArea(CfnAnalysis.ParameterTextAreaControlProperty textArea) Sets the value ofCfnAnalysis.ParameterControlProperty.getTextArea()
- Parameters:
textArea
- A control to display a text box that is used to enter multiple entries.- Returns:
this
-
textField
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder textField(IResolvable textField) Sets the value ofCfnAnalysis.ParameterControlProperty.getTextField()
- Parameters:
textField
- A control to display a text box that is used to enter a single entry.- Returns:
this
-
textField
@Stability(Stable) public CfnAnalysis.ParameterControlProperty.Builder textField(CfnAnalysis.ParameterTextFieldControlProperty textField) Sets the value ofCfnAnalysis.ParameterControlProperty.getTextField()
- Parameters:
textField
- A control to display a text box that is used to enter a single entry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ParameterControlProperty>
- Returns:
- a new instance of
CfnAnalysis.ParameterControlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-