Interface TimestreamTimestamp.Builder

    • Method Detail

      • value

        TimestreamTimestamp.Builder value​(String 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

        TimestreamTimestamp.Builder unit​(String 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.