public List<String> hostnames() {
        return this.hostnames == null ? List.of() : this.hostnames;
    }
@return Hostnames for the above IP address.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/HostAlias.java