Class CfnTopic.TopicFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicFilterProperty>
- Enclosing interface:
CfnTopic.TopicFilterProperty
@Stability(Stable)
public static final class CfnTopic.TopicFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicFilterProperty>
A builder for
CfnTopic.TopicFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categoryFilter(IResolvable categoryFilter) Sets the value ofCfnTopic.TopicFilterProperty.getCategoryFilter()categoryFilter(CfnTopic.TopicCategoryFilterProperty categoryFilter) Sets the value ofCfnTopic.TopicFilterProperty.getCategoryFilter()dateRangeFilter(IResolvable dateRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getDateRangeFilter()dateRangeFilter(CfnTopic.TopicDateRangeFilterProperty dateRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getDateRangeFilter()filterClass(String filterClass) Sets the value ofCfnTopic.TopicFilterProperty.getFilterClass()filterDescription(String filterDescription) Sets the value ofCfnTopic.TopicFilterProperty.getFilterDescription()filterName(String filterName) Sets the value ofCfnTopic.TopicFilterProperty.getFilterName()filterSynonyms(List<String> filterSynonyms) Sets the value ofCfnTopic.TopicFilterProperty.getFilterSynonyms()filterType(String filterType) Sets the value ofCfnTopic.TopicFilterProperty.getFilterType()numericEqualityFilter(IResolvable numericEqualityFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericEqualityFilter()numericEqualityFilter(CfnTopic.TopicNumericEqualityFilterProperty numericEqualityFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericEqualityFilter()numericRangeFilter(IResolvable numericRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericRangeFilter()numericRangeFilter(CfnTopic.TopicNumericRangeFilterProperty numericRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericRangeFilter()operandFieldName(String operandFieldName) Sets the value ofCfnTopic.TopicFilterProperty.getOperandFieldName()relativeDateFilter(IResolvable relativeDateFilter) Sets the value ofCfnTopic.TopicFilterProperty.getRelativeDateFilter()relativeDateFilter(CfnTopic.TopicRelativeDateFilterProperty relativeDateFilter) Sets the value ofCfnTopic.TopicFilterProperty.getRelativeDateFilter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterName
Sets the value ofCfnTopic.TopicFilterProperty.getFilterName()- Parameters:
filterName- The name of the filter. This parameter is required.- Returns:
this
-
operandFieldName
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder operandFieldName(String operandFieldName) Sets the value ofCfnTopic.TopicFilterProperty.getOperandFieldName()- Parameters:
operandFieldName- The name of the field that the filter operates on. This parameter is required.- Returns:
this
-
categoryFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder categoryFilter(IResolvable categoryFilter) Sets the value ofCfnTopic.TopicFilterProperty.getCategoryFilter()- Parameters:
categoryFilter- The category filter that is associated with this filter.- Returns:
this
-
categoryFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder categoryFilter(CfnTopic.TopicCategoryFilterProperty categoryFilter) Sets the value ofCfnTopic.TopicFilterProperty.getCategoryFilter()- Parameters:
categoryFilter- The category filter that is associated with this filter.- Returns:
this
-
dateRangeFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder dateRangeFilter(IResolvable dateRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getDateRangeFilter()- Parameters:
dateRangeFilter- The date range filter.- Returns:
this
-
dateRangeFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder dateRangeFilter(CfnTopic.TopicDateRangeFilterProperty dateRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getDateRangeFilter()- Parameters:
dateRangeFilter- The date range filter.- Returns:
this
-
filterClass
Sets the value ofCfnTopic.TopicFilterProperty.getFilterClass()- Parameters:
filterClass- The class of the filter. Valid values for this structure areENFORCED_VALUE_FILTER,CONDITIONAL_VALUE_FILTER, andNAMED_VALUE_FILTER.- Returns:
this
-
filterDescription
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder filterDescription(String filterDescription) Sets the value ofCfnTopic.TopicFilterProperty.getFilterDescription()- Parameters:
filterDescription- A description of the filter used to select items for a topic.- Returns:
this
-
filterSynonyms
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder filterSynonyms(List<String> filterSynonyms) Sets the value ofCfnTopic.TopicFilterProperty.getFilterSynonyms()- Parameters:
filterSynonyms- The other names or aliases for the filter.- Returns:
this
-
filterType
Sets the value ofCfnTopic.TopicFilterProperty.getFilterType()- Parameters:
filterType- The type of the filter. Valid values for this structure areCATEGORY_FILTER,NUMERIC_EQUALITY_FILTER,NUMERIC_RANGE_FILTER,DATE_RANGE_FILTER, andRELATIVE_DATE_FILTER.- Returns:
this
-
numericEqualityFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder numericEqualityFilter(IResolvable numericEqualityFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericEqualityFilter()- Parameters:
numericEqualityFilter- The numeric equality filter.- Returns:
this
-
numericEqualityFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder numericEqualityFilter(CfnTopic.TopicNumericEqualityFilterProperty numericEqualityFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericEqualityFilter()- Parameters:
numericEqualityFilter- The numeric equality filter.- Returns:
this
-
numericRangeFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder numericRangeFilter(IResolvable numericRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericRangeFilter()- Parameters:
numericRangeFilter- The numeric range filter.- Returns:
this
-
numericRangeFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder numericRangeFilter(CfnTopic.TopicNumericRangeFilterProperty numericRangeFilter) Sets the value ofCfnTopic.TopicFilterProperty.getNumericRangeFilter()- Parameters:
numericRangeFilter- The numeric range filter.- Returns:
this
-
relativeDateFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder relativeDateFilter(IResolvable relativeDateFilter) Sets the value ofCfnTopic.TopicFilterProperty.getRelativeDateFilter()- Parameters:
relativeDateFilter- The relative date filter.- Returns:
this
-
relativeDateFilter
@Stability(Stable) public CfnTopic.TopicFilterProperty.Builder relativeDateFilter(CfnTopic.TopicRelativeDateFilterProperty relativeDateFilter) Sets the value ofCfnTopic.TopicFilterProperty.getRelativeDateFilter()- Parameters:
relativeDateFilter- The relative date filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicFilterProperty>- Returns:
- a new instance of
CfnTopic.TopicFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-