Interface TimestreamTimestamp.Builder

  • Method Details

    • value

      An expression that returns a long epoch time value.

      Parameters:
      value - An expression that returns a long epoch time value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unit

      The precision of the timestamp value that results from the expression described in value.

      Valid values: SECONDS | MILLISECONDS | MICROSECONDS | NANOSECONDS. The default is MILLISECONDS.

      Parameters:
      unit - The precision of the timestamp value that results from the expression described in value .

      Valid values: SECONDS | MILLISECONDS | MICROSECONDS | NANOSECONDS. The default is MILLISECONDS.

      Returns:
      Returns a reference to this object so that method calls can be chained together.