Interface ExecutionContext.Builder

  • Method Details

    • contextType

      ExecutionContext.Builder contextType(String contextType)

      The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.

      Parameters:
      contextType - The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contextType

      ExecutionContext.Builder contextType(ContextType contextType)

      The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.

      Parameters:
      contextType - The type of context. Valid values include ERROR, CLIENT_ERROR, WARNING, and INFO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • context

      ExecutionContext.Builder context(String context)

      The context message.

      Parameters:
      context - The context message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      ExecutionContext.Builder timestamp(Instant timestamp)

      The date and time the context was recorded, in UTC format.

      Parameters:
      timestamp - The date and time the context was recorded, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.