public Set<String> getTraits() {
            return traits;
        }
Gets the list of trait shape IDs/namespaces to exclude.

@return shape IDs to exclude.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/ExcludeTraits.java