public void setTypes(java.util.Collection<String> types) {
        if (types == null) {
            this.types = null;
            return;
        }

        this.types = new java.util.ArrayList<String>(types);
    }
<p>
The rule action updates the <code>Types</code> field of a finding.
</p>

@param types
       The rule action updates the <code>Types</code> field of a finding.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AutomationRulesFindingFieldsUpdate.java