public Builder rules(@Nullable Output<List<PolicyRulePatchArgs>> rules) {
            $.rules = rules;
            return this;
        }
@param rules Rules holds all the PolicyRules for this Role

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/rbac/v1beta1/RolePatchArgs.java