public Optional<String> type() {
        return Optional.ofNullable(this.type);
    }
@return Node address type, one of Hostname, ExternalIP or InternalIP.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/NodeAddressPatch.java