Class CfnTemplate.FilterListControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.FilterListControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.FilterListControlProperty>
- Enclosing interface:
- CfnTemplate.FilterListControlProperty
@Stability(Stable)
public static final class CfnTemplate.FilterListControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.FilterListControlProperty>
A builder for
CfnTemplate.FilterListControlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cascadingControlConfiguration(IResolvable cascadingControlConfiguration) Sets the value ofCfnTemplate.FilterListControlProperty.getCascadingControlConfiguration()cascadingControlConfiguration(CfnTemplate.CascadingControlConfigurationProperty cascadingControlConfiguration) Sets the value ofCfnTemplate.FilterListControlProperty.getCascadingControlConfiguration()displayOptions(IResolvable displayOptions) Sets the value ofCfnTemplate.FilterListControlProperty.getDisplayOptions()displayOptions(CfnTemplate.ListControlDisplayOptionsProperty displayOptions) Sets the value ofCfnTemplate.FilterListControlProperty.getDisplayOptions()filterControlId(String filterControlId) Sets the value ofCfnTemplate.FilterListControlProperty.getFilterControlId()selectableValues(IResolvable selectableValues) Sets the value ofCfnTemplate.FilterListControlProperty.getSelectableValues()selectableValues(CfnTemplate.FilterSelectableValuesProperty selectableValues) Sets the value ofCfnTemplate.FilterListControlProperty.getSelectableValues()sourceFilterId(String sourceFilterId) Sets the value ofCfnTemplate.FilterListControlProperty.getSourceFilterId()Sets the value ofCfnTemplate.FilterListControlProperty.getTitle()Sets the value ofCfnTemplate.FilterListControlProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterControlId
@Stability(Stable) public CfnTemplate.FilterListControlProperty.Builder filterControlId(String filterControlId) Sets the value ofCfnTemplate.FilterListControlProperty.getFilterControlId()- Parameters:
filterControlId- The ID of theFilterListControl. This parameter is required.- Returns:
this
-
sourceFilterId
@Stability(Stable) public CfnTemplate.FilterListControlProperty.Builder sourceFilterId(String sourceFilterId) Sets the value ofCfnTemplate.FilterListControlProperty.getSourceFilterId()- Parameters:
sourceFilterId- The source filter ID of theFilterListControl. This parameter is required.- Returns:
this
-
title
Sets the value ofCfnTemplate.FilterListControlProperty.getTitle()- Parameters:
title- The title of theFilterListControl. This parameter is required.- Returns:
this
-
cascadingControlConfiguration
@Stability(Stable) public CfnTemplate.FilterListControlProperty.Builder cascadingControlConfiguration(IResolvable cascadingControlConfiguration) Sets the value ofCfnTemplate.FilterListControlProperty.getCascadingControlConfiguration()- 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 CfnTemplate.FilterListControlProperty.Builder cascadingControlConfiguration(CfnTemplate.CascadingControlConfigurationProperty cascadingControlConfiguration) Sets the value ofCfnTemplate.FilterListControlProperty.getCascadingControlConfiguration()- 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 CfnTemplate.FilterListControlProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnTemplate.FilterListControlProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnTemplate.FilterListControlProperty.Builder displayOptions(CfnTemplate.ListControlDisplayOptionsProperty displayOptions) Sets the value ofCfnTemplate.FilterListControlProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
selectableValues
@Stability(Stable) public CfnTemplate.FilterListControlProperty.Builder selectableValues(IResolvable selectableValues) Sets the value ofCfnTemplate.FilterListControlProperty.getSelectableValues()- Parameters:
selectableValues- A list of selectable values that are used in a control.- Returns:
this
-
selectableValues
@Stability(Stable) public CfnTemplate.FilterListControlProperty.Builder selectableValues(CfnTemplate.FilterSelectableValuesProperty selectableValues) Sets the value ofCfnTemplate.FilterListControlProperty.getSelectableValues()- Parameters:
selectableValues- A list of selectable values that are used in a control.- Returns:
this
-
type
Sets the value ofCfnTemplate.FilterListControlProperty.getType()- Parameters:
type- The type ofFilterListControl. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.FilterListControlProperty>- Returns:
- a new instance of
CfnTemplate.FilterListControlProperty - Throws:
NullPointerException- if any required attribute was not provided
-