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