Class CfnDashboard.ParameterControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ParameterControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ParameterControlProperty>
- Enclosing interface:
- CfnDashboard.ParameterControlProperty
@Stability(Stable)
public static final class CfnDashboard.ParameterControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ParameterControlProperty>
A builder for
CfnDashboard.ParameterControlProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateTimePicker
(IResolvable dateTimePicker) Sets the value ofCfnDashboard.ParameterControlProperty.getDateTimePicker()
dateTimePicker
(CfnDashboard.ParameterDateTimePickerControlProperty dateTimePicker) Sets the value ofCfnDashboard.ParameterControlProperty.getDateTimePicker()
dropdown
(IResolvable dropdown) Sets the value ofCfnDashboard.ParameterControlProperty.getDropdown()
Sets the value ofCfnDashboard.ParameterControlProperty.getDropdown()
list
(IResolvable list) Sets the value ofCfnDashboard.ParameterControlProperty.getList()
Sets the value ofCfnDashboard.ParameterControlProperty.getList()
slider
(IResolvable slider) Sets the value ofCfnDashboard.ParameterControlProperty.getSlider()
Sets the value ofCfnDashboard.ParameterControlProperty.getSlider()
textArea
(IResolvable textArea) Sets the value ofCfnDashboard.ParameterControlProperty.getTextArea()
Sets the value ofCfnDashboard.ParameterControlProperty.getTextArea()
textField
(IResolvable textField) Sets the value ofCfnDashboard.ParameterControlProperty.getTextField()
Sets the value ofCfnDashboard.ParameterControlProperty.getTextField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateTimePicker
@Stability(Stable) public CfnDashboard.ParameterControlProperty.Builder dateTimePicker(IResolvable dateTimePicker) Sets the value ofCfnDashboard.ParameterControlProperty.getDateTimePicker()
- Parameters:
dateTimePicker
- A control from a date parameter that specifies date and time.- Returns:
this
-
dateTimePicker
@Stability(Stable) public CfnDashboard.ParameterControlProperty.Builder dateTimePicker(CfnDashboard.ParameterDateTimePickerControlProperty dateTimePicker) Sets the value ofCfnDashboard.ParameterControlProperty.getDateTimePicker()
- Parameters:
dateTimePicker
- A control from a date parameter that specifies date and time.- Returns:
this
-
dropdown
@Stability(Stable) public CfnDashboard.ParameterControlProperty.Builder dropdown(IResolvable dropdown) Sets the value ofCfnDashboard.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 CfnDashboard.ParameterControlProperty.Builder dropdown(CfnDashboard.ParameterDropDownControlProperty dropdown) Sets the value ofCfnDashboard.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 ofCfnDashboard.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 CfnDashboard.ParameterControlProperty.Builder list(CfnDashboard.ParameterListControlProperty list) Sets the value ofCfnDashboard.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 ofCfnDashboard.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 CfnDashboard.ParameterControlProperty.Builder slider(CfnDashboard.ParameterSliderControlProperty slider) Sets the value ofCfnDashboard.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 CfnDashboard.ParameterControlProperty.Builder textArea(IResolvable textArea) Sets the value ofCfnDashboard.ParameterControlProperty.getTextArea()
- Parameters:
textArea
- A control to display a text box that is used to enter multiple entries.- Returns:
this
-
textArea
@Stability(Stable) public CfnDashboard.ParameterControlProperty.Builder textArea(CfnDashboard.ParameterTextAreaControlProperty textArea) Sets the value ofCfnDashboard.ParameterControlProperty.getTextArea()
- Parameters:
textArea
- A control to display a text box that is used to enter multiple entries.- Returns:
this
-
textField
@Stability(Stable) public CfnDashboard.ParameterControlProperty.Builder textField(IResolvable textField) Sets the value ofCfnDashboard.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 CfnDashboard.ParameterControlProperty.Builder textField(CfnDashboard.ParameterTextFieldControlProperty textField) Sets the value ofCfnDashboard.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<CfnDashboard.ParameterControlProperty>
- Returns:
- a new instance of
CfnDashboard.ParameterControlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-