public static interface RelativeDatesFilter.Builder extends SdkPojo, CopyableBuilder<RelativeDatesFilter.Builder,RelativeDatesFilter>
| Modifier and Type | Method and Description |
|---|---|
RelativeDatesFilter.Builder |
anchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
|
default RelativeDatesFilter.Builder |
anchorDateConfiguration(Consumer<AnchorDateConfiguration.Builder> anchorDateConfiguration)
The date configuration of the filter.
|
RelativeDatesFilter.Builder |
column(ColumnIdentifier column)
The column that the filter is applied to.
|
default RelativeDatesFilter.Builder |
column(Consumer<ColumnIdentifier.Builder> column)
The column that the filter is applied to.
|
default RelativeDatesFilter.Builder |
excludePeriodConfiguration(Consumer<ExcludePeriodConfiguration.Builder> excludePeriodConfiguration)
The configuration for the exclude period of the filter.
|
RelativeDatesFilter.Builder |
excludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
|
RelativeDatesFilter.Builder |
filterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
|
RelativeDatesFilter.Builder |
minimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
|
RelativeDatesFilter.Builder |
minimumGranularity(TimeGranularity minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
|
RelativeDatesFilter.Builder |
nullOption(FilterNullOption nullOption)
This option determines how null values should be treated when filtering data.
|
RelativeDatesFilter.Builder |
nullOption(String nullOption)
This option determines how null values should be treated when filtering data.
|
RelativeDatesFilter.Builder |
parameterName(String parameterName)
The parameter whose value should be used for the filter value.
|
RelativeDatesFilter.Builder |
relativeDateType(RelativeDateType relativeDateType)
The range date type of the filter.
|
RelativeDatesFilter.Builder |
relativeDateType(String relativeDateType)
The range date type of the filter.
|
RelativeDatesFilter.Builder |
relativeDateValue(Integer relativeDateValue)
The date value of the filter.
|
RelativeDatesFilter.Builder |
timeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
RelativeDatesFilter.Builder |
timeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTime values. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRelativeDatesFilter.Builder filterId(String filterId)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
filterId - An identifier that uniquely identifies a filter within a dashboard, analysis, or template.RelativeDatesFilter.Builder column(ColumnIdentifier column)
The column that the filter is applied to.
column - The column that the filter is applied to.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.Builder avoiding the
need to create one manually via ColumnIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to column(ColumnIdentifier).
column - a consumer that will call methods on ColumnIdentifier.Buildercolumn(ColumnIdentifier)RelativeDatesFilter.Builder anchorDateConfiguration(AnchorDateConfiguration anchorDateConfiguration)
The date configuration of the filter.
anchorDateConfiguration - The date configuration of the filter.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.Builder avoiding
the need to create one manually via AnchorDateConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to anchorDateConfiguration(AnchorDateConfiguration).
anchorDateConfiguration - a consumer that will call methods on AnchorDateConfiguration.BuilderanchorDateConfiguration(AnchorDateConfiguration)RelativeDatesFilter.Builder minimumGranularity(String minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.TimeGranularity,
TimeGranularityRelativeDatesFilter.Builder minimumGranularity(TimeGranularity minimumGranularity)
The minimum granularity (period granularity) of the relative dates filter.
minimumGranularity - The minimum granularity (period granularity) of the relative dates filter.TimeGranularity,
TimeGranularityRelativeDatesFilter.Builder timeGranularity(String timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularity,
TimeGranularityRelativeDatesFilter.Builder timeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate DateTime values.
timeGranularity - The level of time precision that is used to aggregate DateTime values.TimeGranularity,
TimeGranularityRelativeDatesFilter.Builder relativeDateType(String relativeDateType)
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
relativeDateType - The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateType,
RelativeDateTypeRelativeDatesFilter.Builder relativeDateType(RelativeDateType relativeDateType)
The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
relativeDateType - The range date type of the filter. Choose one of the options below:
PREVIOUS
THIS
LAST
NOW
NEXT
RelativeDateType,
RelativeDateTypeRelativeDatesFilter.Builder relativeDateValue(Integer relativeDateValue)
The date value of the filter.
relativeDateValue - The date value of the filter.RelativeDatesFilter.Builder parameterName(String parameterName)
The parameter whose value should be used for the filter value.
parameterName - The parameter whose value should be used for the filter value.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.
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.
FilterNullOption,
FilterNullOptionRelativeDatesFilter.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.
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.
FilterNullOption,
FilterNullOptionRelativeDatesFilter.Builder excludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The configuration for the exclude period of the filter.
excludePeriodConfiguration - The configuration for the exclude period of the filter.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.Builder
avoiding the need to create one manually via ExcludePeriodConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to excludePeriodConfiguration(ExcludePeriodConfiguration).
excludePeriodConfiguration - a consumer that will call methods on ExcludePeriodConfiguration.BuilderexcludePeriodConfiguration(ExcludePeriodConfiguration)Copyright © 2023. All rights reserved.