Interface FlowFailureEvent.Builder

    • Method Detail

      • errorCode

        FlowFailureEvent.Builder errorCode​(String errorCode)

        The error code that identifies the type of failure that occurred.

        Parameters:
        errorCode - The error code that identifies the type of failure that occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FlowErrorCode, FlowErrorCode
      • errorCode

        FlowFailureEvent.Builder errorCode​(FlowErrorCode errorCode)

        The error code that identifies the type of failure that occurred.

        Parameters:
        errorCode - The error code that identifies the type of failure that occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FlowErrorCode, FlowErrorCode
      • errorMessage

        FlowFailureEvent.Builder errorMessage​(String errorMessage)

        A descriptive message that provides details about the failure.

        Parameters:
        errorMessage - A descriptive message that provides details about the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        FlowFailureEvent.Builder timestamp​(Instant timestamp)

        The timestamp when the failure occurred.

        Parameters:
        timestamp - The timestamp when the failure occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.