Class CfnAnalysis.TimeRangeFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.TimeRangeFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.TimeRangeFilterProperty>
- Enclosing interface:
CfnAnalysis.TimeRangeFilterProperty
@Stability(Stable)
public static final class CfnAnalysis.TimeRangeFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.TimeRangeFilterProperty>
A builder for
CfnAnalysis.TimeRangeFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getColumn()
Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getColumn()
defaultFilterControlConfiguration
(IResolvable defaultFilterControlConfiguration) defaultFilterControlConfiguration
(CfnAnalysis.DefaultFilterControlConfigurationProperty defaultFilterControlConfiguration) excludePeriodConfiguration
(IResolvable excludePeriodConfiguration) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getExcludePeriodConfiguration()
excludePeriodConfiguration
(CfnAnalysis.ExcludePeriodConfigurationProperty excludePeriodConfiguration) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getExcludePeriodConfiguration()
Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getFilterId()
includeMaximum
(Boolean includeMaximum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMaximum()
includeMaximum
(IResolvable includeMaximum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMaximum()
includeMinimum
(Boolean includeMinimum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMinimum()
includeMinimum
(IResolvable includeMinimum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMinimum()
nullOption
(String nullOption) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getNullOption()
rangeMaximumValue
(IResolvable rangeMaximumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMaximumValue()
rangeMaximumValue
(CfnAnalysis.TimeRangeFilterValueProperty rangeMaximumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMaximumValue()
rangeMinimumValue
(IResolvable rangeMinimumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMinimumValue()
rangeMinimumValue
(CfnAnalysis.TimeRangeFilterValueProperty rangeMinimumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMinimumValue()
timeGranularity
(String timeGranularity) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getTimeGranularity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getColumn()
- Parameters:
column
- The column that the filter is applied to. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder column(CfnAnalysis.ColumnIdentifierProperty column) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getColumn()
- Parameters:
column
- The column that the filter is applied to. This parameter is required.- Returns:
this
-
filterId
Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getFilterId()
- Parameters:
filterId
- An identifier that uniquely identifies a filter within a dashboard, analysis, or template. This parameter is required.- Returns:
this
-
nullOption
Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getNullOption()
- Parameters:
nullOption
- This option determines how null values should be treated when filtering data. This parameter is required.ALL_VALUES
: Include null values in filtered results.NULLS_ONLY
: Only include null values in filtered results.NON_NULLS_ONLY
: Exclude null values from filtered results.
- Returns:
this
-
defaultFilterControlConfiguration
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder defaultFilterControlConfiguration(IResolvable defaultFilterControlConfiguration) - Parameters:
defaultFilterControlConfiguration
- The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.- Returns:
this
-
defaultFilterControlConfiguration
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder defaultFilterControlConfiguration(CfnAnalysis.DefaultFilterControlConfigurationProperty defaultFilterControlConfiguration) - Parameters:
defaultFilterControlConfiguration
- The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.- Returns:
this
-
excludePeriodConfiguration
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder excludePeriodConfiguration(IResolvable excludePeriodConfiguration) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getExcludePeriodConfiguration()
- Parameters:
excludePeriodConfiguration
- The exclude period of the time range filter.- Returns:
this
-
excludePeriodConfiguration
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder excludePeriodConfiguration(CfnAnalysis.ExcludePeriodConfigurationProperty excludePeriodConfiguration) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getExcludePeriodConfiguration()
- Parameters:
excludePeriodConfiguration
- The exclude period of the time range filter.- Returns:
this
-
includeMaximum
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder includeMaximum(Boolean includeMaximum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMaximum()
- Parameters:
includeMaximum
- Determines whether the maximum value in the filter value range should be included in the filtered results.- Returns:
this
-
includeMaximum
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder includeMaximum(IResolvable includeMaximum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMaximum()
- Parameters:
includeMaximum
- Determines whether the maximum value in the filter value range should be included in the filtered results.- Returns:
this
-
includeMinimum
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder includeMinimum(Boolean includeMinimum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMinimum()
- Parameters:
includeMinimum
- Determines whether the minimum value in the filter value range should be included in the filtered results.- Returns:
this
-
includeMinimum
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder includeMinimum(IResolvable includeMinimum) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getIncludeMinimum()
- Parameters:
includeMinimum
- Determines whether the minimum value in the filter value range should be included in the filtered results.- Returns:
this
-
rangeMaximumValue
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder rangeMaximumValue(IResolvable rangeMaximumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMaximumValue()
- Parameters:
rangeMaximumValue
- The maximum value for the filter value range.- Returns:
this
-
rangeMaximumValue
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder rangeMaximumValue(CfnAnalysis.TimeRangeFilterValueProperty rangeMaximumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMaximumValue()
- Parameters:
rangeMaximumValue
- The maximum value for the filter value range.- Returns:
this
-
rangeMinimumValue
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder rangeMinimumValue(IResolvable rangeMinimumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMinimumValue()
- Parameters:
rangeMinimumValue
- The minimum value for the filter value range.- Returns:
this
-
rangeMinimumValue
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder rangeMinimumValue(CfnAnalysis.TimeRangeFilterValueProperty rangeMinimumValue) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getRangeMinimumValue()
- Parameters:
rangeMinimumValue
- The minimum value for the filter value range.- Returns:
this
-
timeGranularity
@Stability(Stable) public CfnAnalysis.TimeRangeFilterProperty.Builder timeGranularity(String timeGranularity) Sets the value ofCfnAnalysis.TimeRangeFilterProperty.getTimeGranularity()
- Parameters:
timeGranularity
- The level of time precision that is used to aggregateDateTime
values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.TimeRangeFilterProperty>
- Returns:
- a new instance of
CfnAnalysis.TimeRangeFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-