Interface CfnDashboard.RelativeDatesFilterProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnDashboard.RelativeDatesFilterProperty extends
A RelativeDatesFilter filters relative dates values.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RelativeDatesFilterProperty relativeDatesFilterProperty = RelativeDatesFilterProperty.builder()
         // the properties below are optional
                 // the properties below are optional
  • Method Details

    • getAnchorDateConfiguration

      @Stability(Stable) @NotNull Object getAnchorDateConfiguration()
      The date configuration of the filter.
    • getColumn

      @Stability(Stable) @NotNull Object getColumn()
      The column that the filter is applied to.
    • getFilterId

      @Stability(Stable) @NotNull String getFilterId()
      An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
    • getNullOption

      @Stability(Stable) @NotNull String getNullOption()
      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.
    • getRelativeDateType

      @Stability(Stable) @NotNull String getRelativeDateType()
      The range date type of the filter. Choose one of the options below:.

      • PREVIOUS
      • THIS
      • LAST
      • NOW
      • NEXT
    • getTimeGranularity

      @Stability(Stable) @NotNull String getTimeGranularity()
      The level of time precision that is used to aggregate DateTime values.
    • getExcludePeriodConfiguration

      @Stability(Stable) @Nullable default Object getExcludePeriodConfiguration()
      The configuration for the exclude period of the filter.
    • getMinimumGranularity

      @Stability(Stable) @Nullable default String getMinimumGranularity()
      The minimum granularity (period granularity) of the relative dates filter.
    • getParameterName

      @Stability(Stable) @Nullable default String getParameterName()
      The parameter whose value should be used for the filter value.
    • getRelativeDateValue

      @Stability(Stable) @Nullable default Number getRelativeDateValue()
      The date value of the filter.
    • builder

      @Stability(Stable) static CfnDashboard.RelativeDatesFilterProperty.Builder builder()
      a CfnDashboard.RelativeDatesFilterProperty.Builder of CfnDashboard.RelativeDatesFilterProperty