Class CfnAnalysis.RelativeDatesFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.RelativeDatesFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.RelativeDatesFilterProperty>
- Enclosing interface:
- CfnAnalysis.RelativeDatesFilterProperty
@Stability(Stable)
public static final class CfnAnalysis.RelativeDatesFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.RelativeDatesFilterProperty>
A builder for
CfnAnalysis.RelativeDatesFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanchorDateConfiguration(IResolvable anchorDateConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getAnchorDateConfiguration()anchorDateConfiguration(CfnAnalysis.AnchorDateConfigurationProperty anchorDateConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getAnchorDateConfiguration()build()Builds the configured instance.column(IResolvable column) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getColumn()Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getColumn()excludePeriodConfiguration(IResolvable excludePeriodConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getExcludePeriodConfiguration()excludePeriodConfiguration(CfnAnalysis.ExcludePeriodConfigurationProperty excludePeriodConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getExcludePeriodConfiguration()Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getFilterId()minimumGranularity(String minimumGranularity) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getMinimumGranularity()nullOption(String nullOption) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getNullOption()parameterName(String parameterName) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getParameterName()relativeDateType(String relativeDateType) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getRelativeDateType()relativeDateValue(Number relativeDateValue) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getRelativeDateValue()timeGranularity(String timeGranularity) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getTimeGranularity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anchorDateConfiguration
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder anchorDateConfiguration(IResolvable anchorDateConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getAnchorDateConfiguration()- Parameters:
anchorDateConfiguration- The date configuration of the filter. This parameter is required.- Returns:
this
-
anchorDateConfiguration
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder anchorDateConfiguration(CfnAnalysis.AnchorDateConfigurationProperty anchorDateConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getAnchorDateConfiguration()- Parameters:
anchorDateConfiguration- The date configuration of the filter. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder column(IResolvable column) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getColumn()- Parameters:
column- The column that the filter is applied to. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder column(CfnAnalysis.ColumnIdentifierProperty column) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getColumn()- Parameters:
column- The column that the filter is applied to. This parameter is required.- Returns:
this
-
filterId
Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getFilterId()- Parameters:
filterId- An identifier that uniquely identifies a filter within a dashboard, analysis, or template. This parameter is required.- Returns:
this
-
nullOption
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder nullOption(String nullOption) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.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
-
relativeDateType
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder relativeDateType(String relativeDateType) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getRelativeDateType()- Parameters:
relativeDateType- The range date type of the filter. Choose one of the options below:. This parameter is required.PREVIOUSTHISLASTNOWNEXT
- Returns:
this
-
timeGranularity
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder timeGranularity(String timeGranularity) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getTimeGranularity()- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues. This parameter is required.- Returns:
this
-
excludePeriodConfiguration
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder excludePeriodConfiguration(IResolvable excludePeriodConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getExcludePeriodConfiguration()- Parameters:
excludePeriodConfiguration- The configuration for the exclude period of the filter.- Returns:
this
-
excludePeriodConfiguration
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder excludePeriodConfiguration(CfnAnalysis.ExcludePeriodConfigurationProperty excludePeriodConfiguration) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getExcludePeriodConfiguration()- Parameters:
excludePeriodConfiguration- The configuration for the exclude period of the filter.- Returns:
this
-
minimumGranularity
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder minimumGranularity(String minimumGranularity) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getMinimumGranularity()- Parameters:
minimumGranularity- The minimum granularity (period granularity) of the relative dates filter.- Returns:
this
-
parameterName
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder parameterName(String parameterName) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getParameterName()- Parameters:
parameterName- The parameter whose value should be used for the filter value.- Returns:
this
-
relativeDateValue
@Stability(Stable) public CfnAnalysis.RelativeDatesFilterProperty.Builder relativeDateValue(Number relativeDateValue) Sets the value ofCfnAnalysis.RelativeDatesFilterProperty.getRelativeDateValue()- Parameters:
relativeDateValue- The date value of the filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.RelativeDatesFilterProperty>- Returns:
- a new instance of
CfnAnalysis.RelativeDatesFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-