@SuppressWarnings("unchecked")
        public B fromNode(Node node) {
            sourceLocation(node.getSourceLocation());
            ObjectNode objectNode = node.expectObjectNode();
            objectNode.getArrayMember(HTTP)
                    .map(values -> Node.loadArrayOfString(HTTP, values))
                    .ifPresent(this::http);
            objectNode.getArrayMember(EVENT_STREAM_HTTP)
                    .map(values -> Node.loadArrayOfString(EVENT_STREAM_HTTP, values))
                    .ifPresent(this::eventStreamHttp);
            return (B) this;
        }
Updates the builder from a Node.

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