@CustomType.Setter
        public Builder podSelector(@Nullable LabelSelectorPatch podSelector) {

            this.podSelector = podSelector;
            return this;
        }
@return podSelector is a label selector which selects pods. This field follows standard label selector semantics; if present but empty, it selects all pods.

If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy&#39;s own namespace.
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/outputs/NetworkPolicyPeerPatch.java