public void setThreats(java.util.Collection<Threat> threats) {
        if (threats == null) {
            this.threats = null;
            return;
        }

        this.threats = new java.util.ArrayList<Threat>(threats);
    }
<p>
Details about the threat detected in a security finding and the file paths that were affected by the threat.
</p>
<p>
Array Members: Minimum number of 1 item. Maximum number of 32 items.
</p>

@param threats
       Details about the threat detected in a security finding and the file paths that were affected by the
       threat. </p>
       <p>
       Array Members: Minimum number of 1 item. Maximum number of 32 items.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsSecurityFinding.java