Class CfnDashboard.FilterListControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.FilterListControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.FilterListControlProperty>
- Enclosing interface:
CfnDashboard.FilterListControlProperty
@Stability(Stable)
public static final class CfnDashboard.FilterListControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.FilterListControlProperty>
A builder for
CfnDashboard.FilterListControlProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cascadingControlConfiguration
(IResolvable cascadingControlConfiguration) cascadingControlConfiguration
(CfnDashboard.CascadingControlConfigurationProperty cascadingControlConfiguration) displayOptions
(IResolvable displayOptions) Sets the value ofCfnDashboard.FilterListControlProperty.getDisplayOptions()
displayOptions
(CfnDashboard.ListControlDisplayOptionsProperty displayOptions) Sets the value ofCfnDashboard.FilterListControlProperty.getDisplayOptions()
filterControlId
(String filterControlId) Sets the value ofCfnDashboard.FilterListControlProperty.getFilterControlId()
selectableValues
(IResolvable selectableValues) Sets the value ofCfnDashboard.FilterListControlProperty.getSelectableValues()
selectableValues
(CfnDashboard.FilterSelectableValuesProperty selectableValues) Sets the value ofCfnDashboard.FilterListControlProperty.getSelectableValues()
sourceFilterId
(String sourceFilterId) Sets the value ofCfnDashboard.FilterListControlProperty.getSourceFilterId()
Sets the value ofCfnDashboard.FilterListControlProperty.getTitle()
Sets the value ofCfnDashboard.FilterListControlProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterControlId
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder filterControlId(String filterControlId) Sets the value ofCfnDashboard.FilterListControlProperty.getFilterControlId()
- Parameters:
filterControlId
- The ID of theFilterListControl
. This parameter is required.- Returns:
this
-
sourceFilterId
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder sourceFilterId(String sourceFilterId) Sets the value ofCfnDashboard.FilterListControlProperty.getSourceFilterId()
- Parameters:
sourceFilterId
- The source filter ID of theFilterListControl
. This parameter is required.- Returns:
this
-
title
Sets the value ofCfnDashboard.FilterListControlProperty.getTitle()
- Parameters:
title
- The title of theFilterListControl
. This parameter is required.- Returns:
this
-
cascadingControlConfiguration
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder cascadingControlConfiguration(IResolvable cascadingControlConfiguration) - Parameters:
cascadingControlConfiguration
- The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.- Returns:
this
-
cascadingControlConfiguration
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder cascadingControlConfiguration(CfnDashboard.CascadingControlConfigurationProperty cascadingControlConfiguration) - Parameters:
cascadingControlConfiguration
- The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnDashboard.FilterListControlProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder displayOptions(CfnDashboard.ListControlDisplayOptionsProperty displayOptions) Sets the value ofCfnDashboard.FilterListControlProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
selectableValues
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder selectableValues(IResolvable selectableValues) Sets the value ofCfnDashboard.FilterListControlProperty.getSelectableValues()
- Parameters:
selectableValues
- A list of selectable values that are used in a control.- Returns:
this
-
selectableValues
@Stability(Stable) public CfnDashboard.FilterListControlProperty.Builder selectableValues(CfnDashboard.FilterSelectableValuesProperty selectableValues) Sets the value ofCfnDashboard.FilterListControlProperty.getSelectableValues()
- Parameters:
selectableValues
- A list of selectable values that are used in a control.- Returns:
this
-
type
Sets the value ofCfnDashboard.FilterListControlProperty.getType()
- Parameters:
type
- The type of theFilterListControl
. Choose one of the following options:.MULTI_SELECT
: The user can select multiple entries from the list.SINGLE_SELECT
: The user can select a single entry from the list.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.FilterListControlProperty>
- Returns:
- a new instance of
CfnDashboard.FilterListControlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-