Interface ResponseInspectionBodyContains.Builder

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

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

    • successStrings

      ResponseInspectionBodyContains.Builder successStrings(Collection<String> successStrings)

      Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON examples: "SuccessStrings": [ "Login successful" ] and "SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]

      Parameters:
      successStrings - Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON examples: "SuccessStrings": [ "Login successful" ] and "SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]

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

      ResponseInspectionBodyContains.Builder successStrings(String... successStrings)

      Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON examples: "SuccessStrings": [ "Login successful" ] and "SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]

      Parameters:
      successStrings - Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON examples: "SuccessStrings": [ "Login successful" ] and "SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]

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

      ResponseInspectionBodyContains.Builder failureStrings(Collection<String> failureStrings)

      Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON example: "FailureStrings": [ "Request failed" ]

      Parameters:
      failureStrings - Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON example: "FailureStrings": [ "Request failed" ]

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

      ResponseInspectionBodyContains.Builder failureStrings(String... failureStrings)

      Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON example: "FailureStrings": [ "Request failed" ]

      Parameters:
      failureStrings - Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.

      JSON example: "FailureStrings": [ "Request failed" ]

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