public List<PolicyRule> rules() {
        return this.rules == null ? List.of() : this.rules;
    }
@return Rules holds all the PolicyRules for this Role
sdk/java/src/main/java/com/pulumi/kubernetes/rbac/v1beta1/outputs/Role.java