public List<String> hosts() {
        return this.hosts == null ? List.of() : this.hosts;
    }
@return hosts is 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/networking/v1/outputs/IngressTLSPatch.java