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