Class CfnAnalysis.FilterDateTimePickerControlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FilterDateTimePickerControlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FilterDateTimePickerControlProperty>
- Enclosing interface:
CfnAnalysis.FilterDateTimePickerControlProperty
@Stability(Stable)
public static final class CfnAnalysis.FilterDateTimePickerControlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FilterDateTimePickerControlProperty>
A builder for
CfnAnalysis.FilterDateTimePickerControlProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.commitMode
(String commitMode) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getCommitMode()
displayOptions
(IResolvable displayOptions) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getDisplayOptions()
Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getDisplayOptions()
filterControlId
(String filterControlId) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getFilterControlId()
sourceFilterId
(String sourceFilterId) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getSourceFilterId()
Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getTitle()
Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterControlId
@Stability(Stable) public CfnAnalysis.FilterDateTimePickerControlProperty.Builder filterControlId(String filterControlId) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getFilterControlId()
- Parameters:
filterControlId
- The ID of theFilterDateTimePickerControl
. This parameter is required.- Returns:
this
-
sourceFilterId
@Stability(Stable) public CfnAnalysis.FilterDateTimePickerControlProperty.Builder sourceFilterId(String sourceFilterId) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getSourceFilterId()
- Parameters:
sourceFilterId
- The source filter ID of theFilterDateTimePickerControl
. This parameter is required.- Returns:
this
-
title
@Stability(Stable) public CfnAnalysis.FilterDateTimePickerControlProperty.Builder title(String title) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getTitle()
- Parameters:
title
- The title of theFilterDateTimePickerControl
. This parameter is required.- Returns:
this
-
commitMode
@Stability(Stable) public CfnAnalysis.FilterDateTimePickerControlProperty.Builder commitMode(String commitMode) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getCommitMode()
- Parameters:
commitMode
- The visibility configurationof the Apply button on aDateTimePickerControl
.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnAnalysis.FilterDateTimePickerControlProperty.Builder displayOptions(IResolvable displayOptions) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
displayOptions
@Stability(Stable) public CfnAnalysis.FilterDateTimePickerControlProperty.Builder displayOptions(CfnAnalysis.DateTimePickerControlDisplayOptionsProperty displayOptions) Sets the value ofCfnAnalysis.FilterDateTimePickerControlProperty.getDisplayOptions()
- Parameters:
displayOptions
- The display options of a control.- Returns:
this
-
type
Sets the value ofCfnAnalysis.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FilterDateTimePickerControlProperty>
- Returns:
- a new instance of
CfnAnalysis.FilterDateTimePickerControlProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-