public Builder addEnum(EnumDefinition value) {
            definitions.get().add(value);
            return this;
        }
Builder used to create the enum trait.
smithy-model/src/main/java/software/amazon/smithy/model/traits/EnumTrait.java