public static Acceptor fromNode(Node node) {
        ObjectNode value = node.expectObjectNode().warnIfAdditionalProperties(KEYS);
        return new Acceptor(AcceptorState.fromNode(value.expectStringMember(STATE)),
                Matcher.fromNode(value.expectMember(MATCHER)));
    }
Creates an Acceptor from a {@link Node}.

@param node Node to create the Acceptor from.
@return Returns the created Acceptor.
@throws ExpectationNotMetException if the given Node is invalid.
smithy-waiters/src/main/java/software/amazon/smithy/waiters/Acceptor.java