@Override
    @SuppressWarnings("unchecked")
    public B clearMembers() {
        members.clear();
        return (B) this;
    }
Replaces the members of the builder.

@param members Members to add to the builder.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/NamedMembersShapeBuilder.java