@Override
    protected Node createNode() {
        ObjectNode.Builder builder = ObjectNode.objectNodeBuilder();
        builder.sourceLocation(getSourceLocation());
        for (Map.Entry<String, Waiter> entry : waiters.entrySet()) {
            builder.withMember(entry.getKey(), entry.getValue().toNode());
        }
        return builder.build();
    }
Gets the waiters defined on the trait.

@return Returns the defined waiters.
smithy-waiters/src/main/java/software/amazon/smithy/waiters/WaitableTrait.java