public Optional<Output<LabelSelectorPatchArgs>> podSelector() {
        return Optional.ofNullable(this.podSelector);
    }
@return This 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/extensions/v1beta1/inputs/NetworkPolicyPeerPatchArgs.java