public Builder apiGroups(Output<List<String>> apiGroups) {
            $.apiGroups = apiGroups;
            return this;
        }
@param apiGroups `apiGroups` is a list of matching API groups and may not be empty. &#34;*&#34; matches all API groups and, if present, must be the only entry. Required.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/flowcontrol/v1beta2/inputs/ResourcePolicyRuleArgs.java