public Optional<LabelSelectorPatch> selector() {
        return Optional.ofNullable(this.selector);
    }
@return Selector is a label query over a set of resources, in this case pods. Required.
sdk/java/src/main/java/com/pulumi/kubernetes/settings/v1alpha1/outputs/PodPresetSpecPatch.java