public GetCisScanResultDetailsResult withScanResultDetails(java.util.Collection<CisScanResultDetails> scanResultDetails) {
        setScanResultDetails(scanResultDetails);
        return this;
    }
<p>
The scan result details.
</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