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