Interface NodeFailureEvent.Builder

    • Method Detail

      • errorCode

        NodeFailureEvent.Builder errorCode​(String errorCode)

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

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

        NodeFailureEvent.Builder errorCode​(NodeErrorCode errorCode)

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

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

        NodeFailureEvent.Builder errorMessage​(String errorMessage)

        A descriptive message that provides details about the node failure.

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

        NodeFailureEvent.Builder nodeName​(String nodeName)

        The name of the node where the failure occurred.

        Parameters:
        nodeName - The name of the node where the failure occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        NodeFailureEvent.Builder timestamp​(Instant timestamp)

        The timestamp when the node failure occurred.

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