@Override
        public EnumShape build() {
            // Collect members from enum and mixins
            Map<String, MemberShape> aggregatedMembers =
                    NamedMemberUtils.computeMixinMembers(getMixins(), members, getId(), getSourceLocation());
            addSyntheticEnumTrait(aggregatedMembers.values());
            return new EnumShape(this, aggregatedMembers);
        }
Converts an enum member into an equivalent enum definition object.

@param member The enum member to convert.
@return An {@link EnumDefinition} representing the given member.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/EnumShape.java