public Optional<String> ip() {
        return Optional.ofNullable(this.ip);
    }
@return IP address of the host file entry.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/HostAliasPatch.java