public Optional<Output<String>> subdomain() {
        return Optional.ofNullable(this.subdomain);
    }
@return If specified, the fully qualified Pod hostname will be &#34;&lt;hostname&gt;.&lt;subdomain&gt;.&lt;pod namespace&gt;.svc.&lt;cluster domain&gt;&#34;. If not specified, the pod will not have a domainname at all.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/PodSpecPatchArgs.java