@Override
    protected Model transformWithConfig(TransformContext context, Config config) {
        Model model = context.getModel();
        ModelTransformer transformer = context.getTransformer();
        Set<String> tags = config.getTags();
        return transformer.removeShapesIf(model, shape -> removeIfPredicate(shape, tags));
    }
Sets the list of tags that, if present, cause the trait to be removed.

@param tags Tags to set.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/ExcludeTraitsByTag.java