public ResponseInspectionBodyContains withSuccessStrings(String... successStrings) {
        if (this.successStrings == null) {
            setSuccessStrings(new java.util.ArrayList<String>(successStrings.length));
        }
        for (String ele : successStrings) {
            this.successStrings.add(ele);
        }
        return this;
    }
<p>
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.
</p>
<p>
JSON examples: <code>"SuccessStrings": [ "Login successful" ]</code> and
<code>"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]</code>
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSuccessStrings(java.util.Collection)} or {@link #withSuccessStrings(java.util.Collection)} if you want
to override the existing values.
</p>

@param 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. </p>
       <p>
       JSON examples: <code>"SuccessStrings": [ "Login successful" ]</code> and
       <code>"SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/ResponseInspectionBodyContains.java