Class CfnDashboard.FilterDateTimePickerControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.FilterDateTimePickerControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.FilterDateTimePickerControlProperty>
- Enclosing interface:
CfnDashboard.FilterDateTimePickerControlProperty
@Stability(Stable)
public static final class CfnDashboard.FilterDateTimePickerControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.FilterDateTimePickerControlProperty>
A builder for
CfnDashboard.FilterDateTimePickerControlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.commitMode(String commitMode) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getCommitMode()displayOptions(IResolvable displayOptions) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getDisplayOptions()Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getDisplayOptions()filterControlId(String filterControlId) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getFilterControlId()sourceFilterId(String sourceFilterId) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getSourceFilterId()Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getTitle()Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterControlId
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder filterControlId(String filterControlId) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getFilterControlId()- Parameters:
filterControlId- The ID of theFilterDateTimePickerControl. This parameter is required.- Returns:
this
-
sourceFilterId
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder sourceFilterId(String sourceFilterId) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getSourceFilterId()- Parameters:
sourceFilterId- The source filter ID of theFilterDateTimePickerControl. This parameter is required.- Returns:
this
-
title
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder title(String title) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getTitle()- Parameters:
title- The title of theFilterDateTimePickerControl. This parameter is required.- Returns:
this
-
commitMode
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder commitMode(String commitMode) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getCommitMode()- Parameters:
commitMode- The visibility configurationof the Apply button on aDateTimePickerControl.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder displayOptions(CfnDashboard.DateTimePickerControlDisplayOptionsProperty displayOptions) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getDisplayOptions()- Parameters:
displayOptions- The display options of a control.- Returns:
this
-
type
@Stability(Stable) public CfnDashboard.FilterDateTimePickerControlProperty.Builder type(String type) Sets the value ofCfnDashboard.FilterDateTimePickerControlProperty.getType()- Parameters:
type- The type of theFilterDropDownControl. Choose one of the following options:.MULTI_SELECT: The user can select multiple entries from a dropdown menu.SINGLE_SELECT: The user can select a single entry from a dropdown menu.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.FilterDateTimePickerControlProperty>- Returns:
- a new instance of
CfnDashboard.FilterDateTimePickerControlProperty - Throws:
NullPointerException- if any required attribute was not provided
-