public Optional<Output<List<String>>> hosts() {
        return Optional.ofNullable(this.hosts);
    }
@return Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
sdk/java/src/main/java/com/pulumi/kubernetes/extensions/v1beta1/inputs/IngressTLSPatchArgs.java