Interface ResponseInspectionStatusCode.Builder

  • Method Details

    • successCodes

      Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "SuccessCodes": [ 200, 201 ]

      Parameters:
      successCodes - Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "SuccessCodes": [ 200, 201 ]

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successCodes

      ResponseInspectionStatusCode.Builder successCodes(Integer... successCodes)

      Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "SuccessCodes": [ 200, 201 ]

      Parameters:
      successCodes - Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "SuccessCodes": [ 200, 201 ]

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCodes

      Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "FailureCodes": [ 400, 404 ]

      Parameters:
      failureCodes - Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "FailureCodes": [ 400, 404 ]

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCodes

      ResponseInspectionStatusCode.Builder failureCodes(Integer... failureCodes)

      Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "FailureCodes": [ 400, 404 ]

      Parameters:
      failureCodes - Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.

      JSON example: "FailureCodes": [ 400, 404 ]

      Returns:
      Returns a reference to this object so that method calls can be chained together.