Interface TimeRangeFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimeRangeFilter.Builder,TimeRangeFilter>,SdkBuilder<TimeRangeFilter.Builder,TimeRangeFilter>,SdkPojo
- Enclosing class:
- TimeRangeFilter
public static interface TimeRangeFilter.Builder extends SdkPojo, CopyableBuilder<TimeRangeFilter.Builder,TimeRangeFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TimeRangeFilter.Buildercolumn(Consumer<ColumnIdentifier.Builder> column)The column that the filter is applied to.TimeRangeFilter.Buildercolumn(ColumnIdentifier column)The column that the filter is applied to.default TimeRangeFilter.BuilderdefaultFilterControlConfiguration(Consumer<DefaultFilterControlConfiguration.Builder> defaultFilterControlConfiguration)The default configurations for the associated controls.TimeRangeFilter.BuilderdefaultFilterControlConfiguration(DefaultFilterControlConfiguration defaultFilterControlConfiguration)The default configurations for the associated controls.default TimeRangeFilter.BuilderexcludePeriodConfiguration(Consumer<ExcludePeriodConfiguration.Builder> excludePeriodConfiguration)The exclude period of the time range filter.TimeRangeFilter.BuilderexcludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)The exclude period of the time range filter.TimeRangeFilter.BuilderfilterId(String filterId)An identifier that uniquely identifies a filter within a dashboard, analysis, or template.TimeRangeFilter.BuilderincludeMaximum(Boolean includeMaximum)Determines whether the maximum value in the filter value range should be included in the filtered results.TimeRangeFilter.BuilderincludeMinimum(Boolean includeMinimum)Determines whether the minimum value in the filter value range should be included in the filtered results.TimeRangeFilter.BuildernullOption(String nullOption)This option determines how null values should be treated when filtering data.TimeRangeFilter.BuildernullOption(FilterNullOption nullOption)This option determines how null values should be treated when filtering data.default TimeRangeFilter.BuilderrangeMaximumValue(Consumer<TimeRangeFilterValue.Builder> rangeMaximumValue)The maximum value for the filter value range.TimeRangeFilter.BuilderrangeMaximumValue(TimeRangeFilterValue rangeMaximumValue)The maximum value for the filter value range.default TimeRangeFilter.BuilderrangeMinimumValue(Consumer<TimeRangeFilterValue.Builder> rangeMinimumValue)The minimum value for the filter value range.TimeRangeFilter.BuilderrangeMinimumValue(TimeRangeFilterValue rangeMinimumValue)The minimum value for the filter value range.TimeRangeFilter.BuildertimeGranularity(String timeGranularity)The level of time precision that is used to aggregateDateTimevalues.TimeRangeFilter.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, sdkFields
-
-
-
-
Method Detail
-
filterId
TimeRangeFilter.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
TimeRangeFilter.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 TimeRangeFilter.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)
-
includeMinimum
TimeRangeFilter.Builder includeMinimum(Boolean includeMinimum)
Determines whether the minimum value in the filter value range should be included in the filtered results.
- Parameters:
includeMinimum- Determines whether the minimum value in the filter value range should be included in the filtered results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeMaximum
TimeRangeFilter.Builder includeMaximum(Boolean includeMaximum)
Determines whether the maximum value in the filter value range should be included in the filtered results.
- Parameters:
includeMaximum- Determines whether the maximum value in the filter value range should be included in the filtered results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rangeMinimumValue
TimeRangeFilter.Builder rangeMinimumValue(TimeRangeFilterValue rangeMinimumValue)
The minimum value for the filter value range.
- Parameters:
rangeMinimumValue- The minimum value for the filter value range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rangeMinimumValue
default TimeRangeFilter.Builder rangeMinimumValue(Consumer<TimeRangeFilterValue.Builder> rangeMinimumValue)
The minimum value for the filter value range.
This is a convenience method that creates an instance of theTimeRangeFilterValue.Builderavoiding the need to create one manually viaTimeRangeFilterValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torangeMinimumValue(TimeRangeFilterValue).- Parameters:
rangeMinimumValue- a consumer that will call methods onTimeRangeFilterValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rangeMinimumValue(TimeRangeFilterValue)
-
rangeMaximumValue
TimeRangeFilter.Builder rangeMaximumValue(TimeRangeFilterValue rangeMaximumValue)
The maximum value for the filter value range.
- Parameters:
rangeMaximumValue- The maximum value for the filter value range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rangeMaximumValue
default TimeRangeFilter.Builder rangeMaximumValue(Consumer<TimeRangeFilterValue.Builder> rangeMaximumValue)
The maximum value for the filter value range.
This is a convenience method that creates an instance of theTimeRangeFilterValue.Builderavoiding the need to create one manually viaTimeRangeFilterValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torangeMaximumValue(TimeRangeFilterValue).- Parameters:
rangeMaximumValue- a consumer that will call methods onTimeRangeFilterValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rangeMaximumValue(TimeRangeFilterValue)
-
nullOption
TimeRangeFilter.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
TimeRangeFilter.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
TimeRangeFilter.Builder excludePeriodConfiguration(ExcludePeriodConfiguration excludePeriodConfiguration)
The exclude period of the time range filter.
- Parameters:
excludePeriodConfiguration- The exclude period of the time range filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePeriodConfiguration
default TimeRangeFilter.Builder excludePeriodConfiguration(Consumer<ExcludePeriodConfiguration.Builder> excludePeriodConfiguration)
The exclude period of the time range 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)
-
timeGranularity
TimeRangeFilter.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
TimeRangeFilter.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
-
defaultFilterControlConfiguration
TimeRangeFilter.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 TimeRangeFilter.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)
-
-