Interface UserError.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UserError.Builder,UserError>, SdkBuilder<UserError.Builder,UserError>, SdkPojo
Enclosing class:
UserError

public static interface UserError.Builder extends SdkPojo, CopyableBuilder<UserError.Builder,UserError>
  • Method Details

    • userId

      UserError.Builder userId(String userId)

      The user ID for which the action failed.

      Parameters:
      userId - The user ID for which the action failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      UserError.Builder errorCode(String errorCode)

      The error code.

      Parameters:
      errorCode - The error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      UserError.Builder errorCode(ErrorCode errorCode)

      The error code.

      Parameters:
      errorCode - The error code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      UserError.Builder errorMessage(String errorMessage)

      The error message.

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