@Override
        public Trait createTrait(ShapeId target, Node value) {
            EndpointTrait.Builder builder = builder().sourceLocation(value);
            value.expectObjectNode().expectStringMember("hostPrefix", builder::hostPrefix);
            EndpointTrait result = builder.build();
            result.setNodeCache(value);
            return result;
        }
Defines custom endpoint bindings of an operation.
smithy-model/src/main/java/software/amazon/smithy/model/traits/EndpointTrait.java