public Builder rules(SuccessPolicyRulePatchArgs... rules) {
            return rules(List.of(rules));
        }
@param rules rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded &gt;= .spec.completions`. Once any of the rules are met, the &#34;SucceededCriteriaMet&#34; condition is added, and the lingering pods are removed. The terminal state for such a Job has the &#34;Complete&#34; condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/batch/v1/inputs/SuccessPolicyPatchArgs.java