public static Rpcv2CborTrait fromNode(Node node) {
        Builder builder = builder().sourceLocation(node);
        ObjectNode objectNode = node.expectObjectNode();
        objectNode.getArrayMember(HTTP)
                .map(values -> Node.loadArrayOfString(HTTP, values))
                .ifPresent(builder::http);
        objectNode.getArrayMember(EVENT_STREAM_HTTP)
                .map(values -> Node.loadArrayOfString(EVENT_STREAM_HTTP, values))
                .ifPresent(builder::eventStreamHttp);
        return builder.build();
    }
Updates the builder from a Node.

@param node Node object that must be a valid {@code ObjectNode}.
@return Returns the updated builder.
smithy-protocol-traits/src/main/java/software/amazon/smithy/protocol/traits/Rpcv2CborTrait.java