Interface ErrorEvent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ErrorEvent.Builder,ErrorEvent>, SdkBuilder<ErrorEvent.Builder,ErrorEvent>, SdkPojo
All Known Subinterfaces:
DefaultErrorEvent.Builder
Enclosing class:
ErrorEvent

@Mutable @NotThreadSafe public static interface ErrorEvent.Builder extends SdkPojo, CopyableBuilder<ErrorEvent.Builder,ErrorEvent>
  • Method Details

    • error

      ErrorEvent.Builder error(String error)

      The type of the exception.

      Parameters:
      error - The type of the exception.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • error

      The type of the exception.

      Parameters:
      error - The type of the exception.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      ErrorEvent.Builder message(String message)

      The exception message.

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