public Builder hostnames(@Nullable Output<List<String>> hostnames) {
            $.hostnames = hostnames;
            return this;
        }
@param hostnames Hostnames for the above IP address.

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