@CustomType.Setter
        public Builder rules(@Nullable List<PolicyRule> rules) {

            this.rules = rules;
            return this;
        }
@return Rules holds all the PolicyRules for this Role
sdk/java/src/main/java/com/pulumi/kubernetes/rbac/v1beta1/outputs/Role.java