@CustomType.Setter
        public Builder apiGroups(@Nullable List<String> apiGroups) {

            this.apiGroups = apiGroups;
            return this;
        }
@return scope specifies the scope of this rule. Valid values are &#34;Cluster&#34;, &#34;Namespaced&#34;, and &#34;*&#34; &#34;Cluster&#34; means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. &#34;Namespaced&#34; means that only namespaced resources will match this rule. &#34;*&#34; means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is &#34;*&#34;.
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1/outputs/NamedRuleWithOperations.java