public Optional<Output<String>> hostname() {
        return Optional.ofNullable(this.hostname);
    }
@return Specifies the hostname of the Pod If not specified, the pod&#39;s hostname will be set to a system-defined value.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/PodSpecArgs.java