Interface ResponseInspectionJson.Builder

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

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

    • identifier

      ResponseInspectionJson.Builder identifier(String identifier)

      The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.

      JSON examples: "Identifier": [ "/login/success" ] and "Identifier": [ "/sign-up/success" ]

      Parameters:
      identifier - The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.

      JSON examples: "Identifier": [ "/login/success" ] and "Identifier": [ "/sign-up/success" ]

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

      ResponseInspectionJson.Builder successValues(Collection<String> successValues)

      Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "SuccessValues": [ "True", "Succeeded" ]

      Parameters:
      successValues - Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "SuccessValues": [ "True", "Succeeded" ]

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

      ResponseInspectionJson.Builder successValues(String... successValues)

      Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "SuccessValues": [ "True", "Succeeded" ]

      Parameters:
      successValues - Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "SuccessValues": [ "True", "Succeeded" ]

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

      ResponseInspectionJson.Builder failureValues(Collection<String> failureValues)

      Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "FailureValues": [ "False", "Failed" ]

      Parameters:
      failureValues - Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "FailureValues": [ "False", "Failed" ]

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

      ResponseInspectionJson.Builder failureValues(String... failureValues)

      Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "FailureValues": [ "False", "Failed" ]

      Parameters:
      failureValues - Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.

      JSON example: "FailureValues": [ "False", "Failed" ]

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