Class TraceSnapshot.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public TraceSnapshot.Builder key​(String key)
        Unique identifier (traceId) for the trace that represents the span set.

        Note that this field is defined as traceKey in the API and it maps to the traceId in the trace data in Application Performance Monitoring.

        Parameters:
        key - the value to set
        Returns:
        this builder
      • timeStarted

        public TraceSnapshot.Builder timeStarted​(Date timeStarted)
        Start time of the trace.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public TraceSnapshot.Builder timeEnded​(Date timeEnded)
        End time of the trace.
        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • traceSnapshotDetails

        public TraceSnapshot.Builder traceSnapshotDetails​(List<SnapshotDetail> traceSnapshotDetails)
        Trace snapshots properties.
        Parameters:
        traceSnapshotDetails - the value to set
        Returns:
        this builder