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