public Optional<String> hostname() {
        return Optional.ofNullable(this.hostname);
    }
@return hostname is set for load-balancer ingress points that are DNS based.
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/outputs/IngressLoadBalancerIngressPatch.java