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