public AutomationRulesFindingFieldsUpdate withUserDefinedFields(java.util.Map<String, String> userDefinedFields) {
        setUserDefinedFields(userDefinedFields);
        return this;
    }
<p>
The rule action updates the <code>UserDefinedFields</code> field of a finding.
</p>

@param userDefinedFields
       The rule action updates the <code>UserDefinedFields</code> field of a finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AutomationRulesFindingFieldsUpdate.java