Class CfnTemplate.FilterControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.FilterControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.FilterControlProperty>
- Enclosing interface:
CfnTemplate.FilterControlProperty
@Stability(Stable)
public static final class CfnTemplate.FilterControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.FilterControlProperty>
A builder for
CfnTemplate.FilterControlProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateTimePicker
(IResolvable dateTimePicker) Sets the value ofCfnTemplate.FilterControlProperty.getDateTimePicker()
dateTimePicker
(CfnTemplate.FilterDateTimePickerControlProperty dateTimePicker) Sets the value ofCfnTemplate.FilterControlProperty.getDateTimePicker()
dropdown
(IResolvable dropdown) Sets the value ofCfnTemplate.FilterControlProperty.getDropdown()
Sets the value ofCfnTemplate.FilterControlProperty.getDropdown()
list
(IResolvable list) Sets the value ofCfnTemplate.FilterControlProperty.getList()
Sets the value ofCfnTemplate.FilterControlProperty.getList()
relativeDateTime
(IResolvable relativeDateTime) Sets the value ofCfnTemplate.FilterControlProperty.getRelativeDateTime()
relativeDateTime
(CfnTemplate.FilterRelativeDateTimeControlProperty relativeDateTime) Sets the value ofCfnTemplate.FilterControlProperty.getRelativeDateTime()
slider
(IResolvable slider) Sets the value ofCfnTemplate.FilterControlProperty.getSlider()
Sets the value ofCfnTemplate.FilterControlProperty.getSlider()
textArea
(IResolvable textArea) Sets the value ofCfnTemplate.FilterControlProperty.getTextArea()
Sets the value ofCfnTemplate.FilterControlProperty.getTextArea()
textField
(IResolvable textField) Sets the value ofCfnTemplate.FilterControlProperty.getTextField()
Sets the value ofCfnTemplate.FilterControlProperty.getTextField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateTimePicker
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder dateTimePicker(IResolvable dateTimePicker) Sets the value ofCfnTemplate.FilterControlProperty.getDateTimePicker()
- Parameters:
dateTimePicker
- A control from a date filter that is used to specify date and time.- Returns:
this
-
dateTimePicker
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder dateTimePicker(CfnTemplate.FilterDateTimePickerControlProperty dateTimePicker) Sets the value ofCfnTemplate.FilterControlProperty.getDateTimePicker()
- Parameters:
dateTimePicker
- A control from a date filter that is used to specify date and time.- Returns:
this
-
dropdown
Sets the value ofCfnTemplate.FilterControlProperty.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 CfnTemplate.FilterControlProperty.Builder dropdown(CfnTemplate.FilterDropDownControlProperty dropdown) Sets the value ofCfnTemplate.FilterControlProperty.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 ofCfnTemplate.FilterControlProperty.getList()
- Parameters:
list
- A control to display a list of buttons or boxes. This is used to select either a single value or multiple values.- Returns:
this
-
list
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder list(CfnTemplate.FilterListControlProperty list) Sets the value ofCfnTemplate.FilterControlProperty.getList()
- Parameters:
list
- A control to display a list of buttons or boxes. This is used to select either a single value or multiple values.- Returns:
this
-
relativeDateTime
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder relativeDateTime(IResolvable relativeDateTime) Sets the value ofCfnTemplate.FilterControlProperty.getRelativeDateTime()
- Parameters:
relativeDateTime
- A control from a date filter that is used to specify the relative date.- Returns:
this
-
relativeDateTime
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder relativeDateTime(CfnTemplate.FilterRelativeDateTimeControlProperty relativeDateTime) Sets the value ofCfnTemplate.FilterControlProperty.getRelativeDateTime()
- Parameters:
relativeDateTime
- A control from a date filter that is used to specify the relative date.- Returns:
this
-
slider
Sets the value ofCfnTemplate.FilterControlProperty.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 CfnTemplate.FilterControlProperty.Builder slider(CfnTemplate.FilterSliderControlProperty slider) Sets the value ofCfnTemplate.FilterControlProperty.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
Sets the value ofCfnTemplate.FilterControlProperty.getTextArea()
- Parameters:
textArea
- A control to display a text box that is used to enter multiple entries.- Returns:
this
-
textArea
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder textArea(CfnTemplate.FilterTextAreaControlProperty textArea) Sets the value ofCfnTemplate.FilterControlProperty.getTextArea()
- Parameters:
textArea
- A control to display a text box that is used to enter multiple entries.- Returns:
this
-
textField
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder textField(IResolvable textField) Sets the value ofCfnTemplate.FilterControlProperty.getTextField()
- Parameters:
textField
- A control to display a text box that is used to enter a single entry.- Returns:
this
-
textField
@Stability(Stable) public CfnTemplate.FilterControlProperty.Builder textField(CfnTemplate.FilterTextFieldControlProperty textField) Sets the value ofCfnTemplate.FilterControlProperty.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<CfnTemplate.FilterControlProperty>
- Returns:
- a new instance of
CfnTemplate.FilterControlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-