Interface TelemetrySample.Builder

  • Method Details

    • recordedAt

      TelemetrySample.Builder recordedAt(Instant recordedAt)

      Time the sample was recorded. Absent for log samples — the service does not store a per-line time, so the member is omitted. Present when a sample type records one.

      Parameters:
      recordedAt - Time the sample was recorded. Absent for log samples — the service does not store a per-line time, so the member is omitted. Present when a sample type records one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      TelemetrySample.Builder message(String message)

      The sample text, as it was recorded.

      Parameters:
      message - The sample text, as it was recorded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.