public void setDetections(java.util.Collection<SensitiveDataDetections> detections) {
        if (detections == null) {
            this.detections = null;
            return;
        }

        this.detections = new java.util.ArrayList<SensitiveDataDetections>(detections);
    }
<p>
The list of detected instances of sensitive data.
</p>

@param detections
       The list of detected instances of sensitive data.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/SensitiveDataResult.java