public GetCisScanResultDetailsResult withScanResultDetails(CisScanResultDetails... scanResultDetails) {
        if (this.scanResultDetails == null) {
            setScanResultDetails(new java.util.ArrayList<CisScanResultDetails>(scanResultDetails.length));
        }
        for (CisScanResultDetails ele : scanResultDetails) {
            this.scanResultDetails.add(ele);
        }
        return this;
    }
<p>
The scan result details.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setScanResultDetails(java.util.Collection)} or {@link #withScanResultDetails(java.util.Collection)} if
you want to override the existing values.
</p>

@param scanResultDetails
       The scan result details.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/GetCisScanResultDetailsResult.java