@SuppressWarnings("unchecked")
    public B mixins(Collection<? extends Shape> mixins) {
        for (Shape shape : mixins) {
            addMixin(shape);
        }
        return (B) this;
    }
Replaces the mixins of the shape.

@param mixins Mixins to add.
@return Returns the builder.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/AbstractShapeBuilder.java