Interface CfnTopic.TopicFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopic.TopicFilterProperty.Jsii$Proxy
- Enclosing class:
CfnTopic
@Stability(Stable)
public static interface CfnTopic.TopicFilterProperty
extends software.amazon.jsii.JsiiSerializable
A structure that represents a filter used to select items for a topic.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.quicksight.*; TopicFilterProperty topicFilterProperty = TopicFilterProperty.builder() .filterName("filterName") .operandFieldName("operandFieldName") // the properties below are optional .categoryFilter(TopicCategoryFilterProperty.builder() .categoryFilterFunction("categoryFilterFunction") .categoryFilterType("categoryFilterType") .constant(TopicCategoryFilterConstantProperty.builder() .collectiveConstant(CollectiveConstantProperty.builder() .valueList(List.of("valueList")) .build()) .constantType("constantType") .singularConstant("singularConstant") .build()) .inverse(false) .build()) .dateRangeFilter(TopicDateRangeFilterProperty.builder() .constant(TopicRangeFilterConstantProperty.builder() .constantType("constantType") .rangeConstant(RangeConstantProperty.builder() .maximum("maximum") .minimum("minimum") .build()) .build()) .inclusive(false) .build()) .filterClass("filterClass") .filterDescription("filterDescription") .filterSynonyms(List.of("filterSynonyms")) .filterType("filterType") .numericEqualityFilter(TopicNumericEqualityFilterProperty.builder() .aggregation("aggregation") .constant(TopicSingularFilterConstantProperty.builder() .constantType("constantType") .singularConstant("singularConstant") .build()) .build()) .numericRangeFilter(TopicNumericRangeFilterProperty.builder() .aggregation("aggregation") .constant(TopicRangeFilterConstantProperty.builder() .constantType("constantType") .rangeConstant(RangeConstantProperty.builder() .maximum("maximum") .minimum("minimum") .build()) .build()) .inclusive(false) .build()) .relativeDateFilter(TopicRelativeDateFilterProperty.builder() .constant(TopicSingularFilterConstantProperty.builder() .constantType("constantType") .singularConstant("singularConstant") .build()) .relativeDateFilterFunction("relativeDateFilterFunction") .timeGranularity("timeGranularity") .build()) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopic.TopicFilterProperty
static final class
An implementation forCfnTopic.TopicFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The category filter that is associated with this filter.default Object
The date range filter.default String
The class of the filter.default String
A description of the filter used to select items for a topic.The name of the filter.The other names or aliases for the filter.default String
The type of the filter.default Object
The numeric equality filter.default Object
The numeric range filter.The name of the field that the filter operates on.default Object
The relative date filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilterName
The name of the filter. -
getOperandFieldName
The name of the field that the filter operates on. -
getCategoryFilter
The category filter that is associated with this filter. -
getDateRangeFilter
The date range filter. -
getFilterClass
The class of the filter.Valid values for this structure are
ENFORCED_VALUE_FILTER
,CONDITIONAL_VALUE_FILTER
, andNAMED_VALUE_FILTER
. -
getFilterDescription
A description of the filter used to select items for a topic. -
getFilterSynonyms
The other names or aliases for the filter. -
getFilterType
The type of the filter.Valid values for this structure are
CATEGORY_FILTER
,NUMERIC_EQUALITY_FILTER
,NUMERIC_RANGE_FILTER
,DATE_RANGE_FILTER
, andRELATIVE_DATE_FILTER
. -
getNumericEqualityFilter
The numeric equality filter. -
getNumericRangeFilter
The numeric range filter. -
getRelativeDateFilter
The relative date filter. -
builder
-