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.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
-
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 date time picker type of aFilterDateTimePickerControl
. Choose one of the following options:.SINGLE_VALUED
: The filter condition is a fixed date.DATE_RANGE
: The filter condition is a date time range.
- 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
-