Interface CaptchaResponse.Builder

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

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

    • responseCode

      CaptchaResponse.Builder responseCode(Integer responseCode)

      The HTTP response code indicating the status of the CAPTCHA token in the web request. If the token is missing, invalid, or expired, this code is 405 Method Not Allowed.

      Parameters:
      responseCode - The HTTP response code indicating the status of the CAPTCHA token in the web request. If the token is missing, invalid, or expired, this code is 405 Method Not Allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • solveTimestamp

      CaptchaResponse.Builder solveTimestamp(Long solveTimestamp)

      The time that the CAPTCHA was last solved for the supplied token.

      Parameters:
      solveTimestamp - The time that the CAPTCHA was last solved for the supplied token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      CaptchaResponse.Builder failureReason(String failureReason)

      The reason for failure, populated when the evaluation of the token fails.

      Parameters:
      failureReason - The reason for failure, populated when the evaluation of the token fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      CaptchaResponse.Builder failureReason(FailureReason failureReason)

      The reason for failure, populated when the evaluation of the token fails.

      Parameters:
      failureReason - The reason for failure, populated when the evaluation of the token fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: