public CreateAutomationRuleRequest withRuleOrder(Integer ruleOrder) {
        setRuleOrder(ruleOrder);
        return this;
    }
<p>
An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings.
Security Hub applies rules with lower values for this parameter first.
</p>

@param ruleOrder
       An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to
       findings. Security Hub applies rules with lower values for this parameter first.
@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