public MatchResources build() {
            final var _resultValue = new MatchResources();
            _resultValue.excludeResourceRules = excludeResourceRules;
            _resultValue.matchPolicy = matchPolicy;
            _resultValue.namespaceSelector = namespaceSelector;
            _resultValue.objectSelector = objectSelector;
            _resultValue.resourceRules = resourceRules;
            return _resultValue;
        }
@return ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
sdk/java/src/main/java/com/pulumi/kubernetes/admissionregistration/v1beta1/outputs/MatchResources.java