@Override
        public Trait createTrait(ShapeId target, Node value) {
            ObjectNode node = value.expectObjectNode();
            Builder builder = builder().sourceLocation(value);
            for (Map.Entry<String, Node> entry : node.getStringMap().entrySet()) {
                builder.put(entry.getKey(), Waiter.fromNode(entry.getValue()));
            }
            WaitableTrait result = builder.build();
            result.setNodeCache(value);
            return result;
        }
Gets the waiters defined on the trait.

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