public B addMember(MemberShape member) {
        throw new UnsupportedOperationException(String.format(
                "Member `%s` cannot be added to %s",
                member.getId(),
                getClass().getName()));
    }
Adds a member to the shape IFF the shape supports members.

@param member Member to add to the shape.
@return Returns the builder.
@throws UnsupportedOperationException if the shape does not support members.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/AbstractShapeBuilder.java