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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopic.TopicFilterPropertystatic final classAn implementation forCfnTopic.TopicFilterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe category filter that is associated with this filter.default ObjectThe date range filter.default StringThe class of the filter.default StringA 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 StringThe type of the filter.default ObjectThe numeric equality filter.default ObjectThe numeric range filter.The name of the field that the filter operates on.default ObjectThe relative date filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilterName
The name of the filter.- See Also:
-
getOperandFieldName
The name of the field that the filter operates on.- See Also:
-
getCategoryFilter
The category filter that is associated with this filter.- See Also:
-
getDateRangeFilter
The date range filter.- See Also:
-
getFilterClass
The class of the filter.Valid values for this structure are
ENFORCED_VALUE_FILTER,CONDITIONAL_VALUE_FILTER, andNAMED_VALUE_FILTER.- See Also:
-
getFilterDescription
A description of the filter used to select items for a topic.- See Also:
-
getFilterSynonyms
The other names or aliases for the filter.- See Also:
-
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.- See Also:
-
getNumericEqualityFilter
The numeric equality filter.- See Also:
-
getNumericRangeFilter
The numeric range filter.- See Also:
-
getRelativeDateFilter
The relative date filter.- See Also:
-
builder
-