public Builder hostnames(String... hostnames) {
            return hostnames(List.of(hostnames));
        }
@param hostnames Hostnames for the above IP address.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/HostAliasPatchArgs.java