public Optional<Output<List<HostAliasArgs>>> hostAliases() {
        return Optional.ofNullable(this.hostAliases);
    }
@return HostAliases is an optional list of hosts and IPs that will be injected into the pod&#39;s hosts file if specified.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/inputs/PodSpecArgs.java