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