Interface RelativeDatesFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RelativeDatesFilter.Builder,RelativeDatesFilter>,SdkBuilder<RelativeDatesFilter.Builder,RelativeDatesFilter>,SdkPojo
- Enclosing class:
- RelativeDatesFilter
@Mutable @NotThreadSafe public static interface RelativeDatesFilter.Builder extends SdkPojo, CopyableBuilder<RelativeDatesFilter.Builder,RelativeDatesFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RelativeDatesFilter.BuilderanchorDateConfiguration(Consumer<AnchorDateConfiguration.Builder> anchorDateConfiguration)The date configuration of the filter.RelativeDatesFilter.BuilderanchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)The date configuration of the filter.default RelativeDatesFilter.Buildercolumn(Consumer<ColumnIdentifier.Builder> column)The column that the filter is applied to.RelativeDatesFilter.Buildercolumn(ColumnIdentifier column)The column that the filter is applied to.default RelativeDatesFilter.BuilderdefaultFilterControlConfiguration(Consumer<DefaultFilterControlConfiguration.Builder> defaultFilterControlConfiguration)The default configurations for the associated controls.RelativeDatesFilter.BuilderdefaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)The default configurations for the associated controls.default RelativeDatesFilter.BuilderexcludePeriodConfiguration(Consumer<ExcludePeriodConfiguration.Builder> excludePeriodConfiguration)The configuration for the exclude period of the filter.RelativeDatesFilter.BuilderexcludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)The configuration for the exclude period of the filter.RelativeDatesFilter.BuilderfilterId(String filterId)An identifier that uniquely identifies a filter within a dashboard, analysis, or template.RelativeDatesFilter.BuilderminimumGranularity(String minimumGranularity)The minimum granularity (period granularity) of the relative dates filter.RelativeDatesFilter.BuilderminimumGranularity(TimeGranularity minimumGranularity)The minimum granularity (period granularity) of the relative dates filter.RelativeDatesFilter.BuildernullOption(String nullOption)This option determines how null values should be treated when filtering data.RelativeDatesFilter.BuildernullOption(FilterNullOption nullOption)This option determines how null values should be treated when filtering data.RelativeDatesFilter.BuilderparameterName(String parameterName)The parameter whose value should be used for the filter value.RelativeDatesFilter.BuilderrelativeDateType(String relativeDateType)The range date type of the filter.RelativeDatesFilter.BuilderrelativeDateType(RelativeDateType relativeDateType)The range date type of the filter.RelativeDatesFilter.BuilderrelativeDateValue(Integer relativeDateValue)The date value of the filter.RelativeDatesFilter.BuildertimeGranularity(String timeGranularity)The level of time precision that is used to aggregateDateTimevalues.RelativeDatesFilter.BuildertimeGranularity(TimeGranularity timeGranularity)The level of time precision that is used to aggregateDateTimevalues.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
filterId
RelativeDatesFilter.Builder filterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
- Parameters:
filterId- An identifier that uniquely identifies a filter within a dashboard, analysis, or template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
RelativeDatesFilter.Builder column(ColumnIdentifier column)
The column that the filter is applied to.
- Parameters:
column- The column that the filter is applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
default RelativeDatesFilter.Builder column(Consumer<ColumnIdentifier.Builder> column)
The column that the filter is applied to.
This is a convenience method that creates an instance of theColumnIdentifier.Builderavoiding the need to create one manually viaColumnIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumn(ColumnIdentifier).- Parameters:
column- a consumer that will call methods onColumnIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
column(ColumnIdentifier)
-
anchorDateConfiguration
RelativeDatesFilter.Builder anchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
- Parameters:
anchorDateConfiguration- The date configuration of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anchorDateConfiguration
default RelativeDatesFilter.Builder anchorDateConfiguration(Consumer<AnchorDateConfiguration.Builder> anchorDateConfiguration)
The date configuration of the filter.
This is a convenience method that creates an instance of theAnchorDateConfiguration.Builderavoiding the need to create one manually viaAnchorDateConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanchorDateConfiguration(AnchorDateConfiguration).- Parameters:
anchorDateConfiguration- a consumer that will call methods onAnchorDateConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
anchorDateConfiguration(AnchorDateConfiguration)
-
minimumGranularity
RelativeDatesFilter.Builder minimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
- Parameters:
minimumGranularity- The minimum granularity (period granularity) of the relative dates filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
minimumGranularity
RelativeDatesFilter.Builder minimumGranularity(TimeGranularity minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
- Parameters:
minimumGranularity- The minimum granularity (period granularity) of the relative dates filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
timeGranularity
RelativeDatesFilter.Builder timeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
timeGranularity
RelativeDatesFilter.Builder timeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
relativeDateType
RelativeDatesFilter.Builder relativeDateType(String relativeDateType)
The range date type of the filter. Choose one of the options below:
-
PREVIOUS -
THIS -
LAST -
NOW -
NEXT
- Parameters:
relativeDateType- The range date type of the filter. Choose one of the options below:-
PREVIOUS -
THIS -
LAST -
NOW -
NEXT
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RelativeDateType,RelativeDateType
-
-
relativeDateType
RelativeDatesFilter.Builder relativeDateType(RelativeDateType relativeDateType)
The range date type of the filter. Choose one of the options below:
-
PREVIOUS -
THIS -
LAST -
NOW -
NEXT
- Parameters:
relativeDateType- The range date type of the filter. Choose one of the options below:-
PREVIOUS -
THIS -
LAST -
NOW -
NEXT
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RelativeDateType,RelativeDateType
-
-
relativeDateValue
RelativeDatesFilter.Builder relativeDateValue(Integer relativeDateValue)
The date value of the filter.
- Parameters:
relativeDateValue- The date value of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterName
RelativeDatesFilter.Builder parameterName(String parameterName)
The parameter whose value should be used for the filter value.
- Parameters:
parameterName- The parameter whose value should be used for the filter value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nullOption
RelativeDatesFilter.Builder nullOption(String nullOption)
This option determines how null values should be treated when filtering data.
-
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.
- Parameters:
nullOption- This option determines how null values should be treated when filtering data.-
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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterNullOption,FilterNullOption
-
-
nullOption
RelativeDatesFilter.Builder nullOption(FilterNullOption nullOption)
This option determines how null values should be treated when filtering data.
-
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.
- Parameters:
nullOption- This option determines how null values should be treated when filtering data.-
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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FilterNullOption,FilterNullOption
-
-
excludePeriodConfiguration
RelativeDatesFilter.Builder excludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
- Parameters:
excludePeriodConfiguration- The configuration for the exclude period of the filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePeriodConfiguration
default RelativeDatesFilter.Builder excludePeriodConfiguration(Consumer<ExcludePeriodConfiguration.Builder> excludePeriodConfiguration)
The configuration for the exclude period of the filter.
This is a convenience method that creates an instance of theExcludePeriodConfiguration.Builderavoiding the need to create one manually viaExcludePeriodConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexcludePeriodConfiguration(ExcludePeriodConfiguration).- Parameters:
excludePeriodConfiguration- a consumer that will call methods onExcludePeriodConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
excludePeriodConfiguration(ExcludePeriodConfiguration)
-
defaultFilterControlConfiguration
RelativeDatesFilter.Builder defaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)
The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
- Parameters:
defaultFilterControlConfiguration- The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultFilterControlConfiguration
default RelativeDatesFilter.Builder defaultFilterControlConfiguration(Consumer<DefaultFilterControlConfiguration.Builder> defaultFilterControlConfiguration)
The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.
This is a convenience method that creates an instance of theDefaultFilterControlConfiguration.Builderavoiding the need to create one manually viaDefaultFilterControlConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultFilterControlConfiguration(DefaultFilterControlConfiguration).- Parameters:
defaultFilterControlConfiguration- a consumer that will call methods onDefaultFilterControlConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultFilterControlConfiguration(DefaultFilterControlConfiguration)
-
-