Class ExcludeTraits

  • All Implemented Interfaces:
    ProjectionTransformer

    public final class ExcludeTraits
    extends ConfigurableProjectionTransformer<T>
    excludeTraits removes trait definitions and traits from shapes when a trait name matches any of the values given in traits.

    Arguments that end with "#" exclude the traits of an entire namespace. Trait shape IDs that are relative are assumed to be part of the smithy.api prelude namespace.