Interface DateRange.Builder

  • Method Details

    • value

      DateRange.Builder value(Integer value)

      A date range value for the date filter.

      Parameters:
      value - A date range value for the date filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unit

      A date range unit for the date filter.

      Parameters:
      unit - A date range unit for the date filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • unit

      A date range unit for the date filter.

      Parameters:
      unit - A date range unit for the date filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comparison

      DateRange.Builder comparison(String comparison)

      The condition to apply to a date range filter. If you specify WITHIN, Security Hub filters for dates within the specified date range. If you specify OLDER_THAN, Security Hub filters for dates before the specified date range. If you don't specify a value, the default is WITHIN.

      Parameters:
      comparison - The condition to apply to a date range filter. If you specify WITHIN, Security Hub filters for dates within the specified date range. If you specify OLDER_THAN, Security Hub filters for dates before the specified date range. If you don't specify a value, the default is WITHIN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • comparison

      DateRange.Builder comparison(DateRangeComparison comparison)

      The condition to apply to a date range filter. If you specify WITHIN, Security Hub filters for dates within the specified date range. If you specify OLDER_THAN, Security Hub filters for dates before the specified date range. If you don't specify a value, the default is WITHIN.

      Parameters:
      comparison - The condition to apply to a date range filter. If you specify WITHIN, Security Hub filters for dates within the specified date range. If you specify OLDER_THAN, Security Hub filters for dates before the specified date range. If you don't specify a value, the default is WITHIN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: