Interface FailureTrace.Builder

    • Method Detail

      • failureCode

        FailureTrace.Builder failureCode​(Integer failureCode)

        The failure code for the trace.

        Parameters:
        failureCode - The failure code for the trace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReason

        FailureTrace.Builder failureReason​(String failureReason)

        The reason the interaction failed.

        Parameters:
        failureReason - The reason the interaction failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadata

        FailureTrace.Builder metadata​(Metadata metadata)

        Information about the failure that occurred.

        Parameters:
        metadata - Information about the failure that occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • traceId

        FailureTrace.Builder traceId​(String traceId)

        The unique identifier of the trace.

        Parameters:
        traceId - The unique identifier of the trace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.