public BatchImportFindingsRequest withFindings(AwsSecurityFinding... findings) {
        if (this.findings == null) {
            setFindings(new java.util.ArrayList<AwsSecurityFinding>(findings.length));
        }
        for (AwsSecurityFinding ele : findings) {
            this.findings.add(ele);
        }
        return this;
    }
<p>
A list of findings to import. To successfully import a finding, it must follow the <a
href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html">Amazon Web
Services Security Finding Format</a>. Maximum of 100 findings per request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFindings(java.util.Collection)} or {@link #withFindings(java.util.Collection)} if you want to override
the existing values.
</p>

@param findings
       A list of findings to import. To successfully import a finding, it must follow the <a
       href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html">Amazon
       Web Services Security Finding Format</a>. Maximum of 100 findings per request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/BatchImportFindingsRequest.java