public void setRelatedFindings(java.util.Collection<RelatedFinding> relatedFindings) {
        if (relatedFindings == null) {
            this.relatedFindings = null;
            return;
        }

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

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