public Output<Optional<List<PolicyRulePatch>>> rules() {
        return Codegen.optional(this.rules);
    }
@return Rules holds all the PolicyRules for this Role
sdk/java/src/main/java/com/pulumi/kubernetes/rbac/v1alpha1/RolePatch.java