Class CfnTemplate.FilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.FilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.FilterProperty>
- Enclosing interface:
CfnTemplate.FilterProperty
@Stability(Stable)
public static final class CfnTemplate.FilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.FilterProperty>
A builder for
CfnTemplate.FilterProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.categoryFilter
(IResolvable categoryFilter) Sets the value ofCfnTemplate.FilterProperty.getCategoryFilter()
categoryFilter
(CfnTemplate.CategoryFilterProperty categoryFilter) Sets the value ofCfnTemplate.FilterProperty.getCategoryFilter()
nestedFilter
(IResolvable nestedFilter) Sets the value ofCfnTemplate.FilterProperty.getNestedFilter()
nestedFilter
(CfnTemplate.NestedFilterProperty nestedFilter) Sets the value ofCfnTemplate.FilterProperty.getNestedFilter()
numericEqualityFilter
(IResolvable numericEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericEqualityFilter()
numericEqualityFilter
(CfnTemplate.NumericEqualityFilterProperty numericEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericEqualityFilter()
numericRangeFilter
(IResolvable numericRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericRangeFilter()
numericRangeFilter
(CfnTemplate.NumericRangeFilterProperty numericRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericRangeFilter()
relativeDatesFilter
(IResolvable relativeDatesFilter) Sets the value ofCfnTemplate.FilterProperty.getRelativeDatesFilter()
relativeDatesFilter
(CfnTemplate.RelativeDatesFilterProperty relativeDatesFilter) Sets the value ofCfnTemplate.FilterProperty.getRelativeDatesFilter()
timeEqualityFilter
(IResolvable timeEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeEqualityFilter()
timeEqualityFilter
(CfnTemplate.TimeEqualityFilterProperty timeEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeEqualityFilter()
timeRangeFilter
(IResolvable timeRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeRangeFilter()
timeRangeFilter
(CfnTemplate.TimeRangeFilterProperty timeRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeRangeFilter()
topBottomFilter
(IResolvable topBottomFilter) Sets the value ofCfnTemplate.FilterProperty.getTopBottomFilter()
topBottomFilter
(CfnTemplate.TopBottomFilterProperty topBottomFilter) Sets the value ofCfnTemplate.FilterProperty.getTopBottomFilter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder categoryFilter(IResolvable categoryFilter) Sets the value ofCfnTemplate.FilterProperty.getCategoryFilter()
- Parameters:
categoryFilter
- ACategoryFilter
filters text values. For more information, see Adding text filters in the Amazon QuickSight User Guide .- Returns:
this
-
categoryFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder categoryFilter(CfnTemplate.CategoryFilterProperty categoryFilter) Sets the value ofCfnTemplate.FilterProperty.getCategoryFilter()
- Parameters:
categoryFilter
- ACategoryFilter
filters text values. For more information, see Adding text filters in the Amazon QuickSight User Guide .- Returns:
this
-
nestedFilter
Sets the value ofCfnTemplate.FilterProperty.getNestedFilter()
- Parameters:
nestedFilter
- ANestedFilter
filters data with a subset of data that is defined by the nested inner filter.- Returns:
this
-
nestedFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder nestedFilter(CfnTemplate.NestedFilterProperty nestedFilter) Sets the value ofCfnTemplate.FilterProperty.getNestedFilter()
- Parameters:
nestedFilter
- ANestedFilter
filters data with a subset of data that is defined by the nested inner filter.- Returns:
this
-
numericEqualityFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder numericEqualityFilter(IResolvable numericEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericEqualityFilter()
- Parameters:
numericEqualityFilter
- ANumericEqualityFilter
filters numeric values that equal or do not equal a given numeric value.- Returns:
this
-
numericEqualityFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder numericEqualityFilter(CfnTemplate.NumericEqualityFilterProperty numericEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericEqualityFilter()
- Parameters:
numericEqualityFilter
- ANumericEqualityFilter
filters numeric values that equal or do not equal a given numeric value.- Returns:
this
-
numericRangeFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder numericRangeFilter(IResolvable numericRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericRangeFilter()
- Parameters:
numericRangeFilter
- ANumericRangeFilter
filters numeric values that are either inside or outside a given numeric range.- Returns:
this
-
numericRangeFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder numericRangeFilter(CfnTemplate.NumericRangeFilterProperty numericRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getNumericRangeFilter()
- Parameters:
numericRangeFilter
- ANumericRangeFilter
filters numeric values that are either inside or outside a given numeric range.- Returns:
this
-
relativeDatesFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder relativeDatesFilter(IResolvable relativeDatesFilter) Sets the value ofCfnTemplate.FilterProperty.getRelativeDatesFilter()
- Parameters:
relativeDatesFilter
- ARelativeDatesFilter
filters date values that are relative to a given date.- Returns:
this
-
relativeDatesFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder relativeDatesFilter(CfnTemplate.RelativeDatesFilterProperty relativeDatesFilter) Sets the value ofCfnTemplate.FilterProperty.getRelativeDatesFilter()
- Parameters:
relativeDatesFilter
- ARelativeDatesFilter
filters date values that are relative to a given date.- Returns:
this
-
timeEqualityFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder timeEqualityFilter(IResolvable timeEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeEqualityFilter()
- Parameters:
timeEqualityFilter
- ATimeEqualityFilter
filters date-time values that equal or do not equal a given date/time value.- Returns:
this
-
timeEqualityFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder timeEqualityFilter(CfnTemplate.TimeEqualityFilterProperty timeEqualityFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeEqualityFilter()
- Parameters:
timeEqualityFilter
- ATimeEqualityFilter
filters date-time values that equal or do not equal a given date/time value.- Returns:
this
-
timeRangeFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder timeRangeFilter(IResolvable timeRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeRangeFilter()
- Parameters:
timeRangeFilter
- ATimeRangeFilter
filters date-time values that are either inside or outside a given date/time range.- Returns:
this
-
timeRangeFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder timeRangeFilter(CfnTemplate.TimeRangeFilterProperty timeRangeFilter) Sets the value ofCfnTemplate.FilterProperty.getTimeRangeFilter()
- Parameters:
timeRangeFilter
- ATimeRangeFilter
filters date-time values that are either inside or outside a given date/time range.- Returns:
this
-
topBottomFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder topBottomFilter(IResolvable topBottomFilter) Sets the value ofCfnTemplate.FilterProperty.getTopBottomFilter()
- Parameters:
topBottomFilter
- ATopBottomFilter
filters data to the top or bottom values for a given column.- Returns:
this
-
topBottomFilter
@Stability(Stable) public CfnTemplate.FilterProperty.Builder topBottomFilter(CfnTemplate.TopBottomFilterProperty topBottomFilter) Sets the value ofCfnTemplate.FilterProperty.getTopBottomFilter()
- Parameters:
topBottomFilter
- ATopBottomFilter
filters data to the top or bottom values for a given column.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.FilterProperty>
- Returns:
- a new instance of
CfnTemplate.FilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-