public CreateAutomationRuleRequest withActions(java.util.Collection<AutomationRulesAction> actions) {
        setActions(actions);
        return this;
    }
<p>
One or more actions to update finding fields if a finding matches the conditions specified in
<code>Criteria</code>.
</p>

@param actions
       One or more actions to update finding fields if a finding matches the conditions specified in
       <code>Criteria</code>.
@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/CreateAutomationRuleRequest.java