@CustomType.Setter
        public Builder selector(LabelSelector selector) {
            if (selector == null) {
              throw new MissingRequiredPropertyException("DeploymentSpec", "selector");
            }
            this.selector = selector;
            return this;
        }
@return Template describes the pods that will be created.
sdk/java/src/main/java/com/pulumi/kubernetes/apps/v1beta2/outputs/DeploymentSpec.java