Class ExcludeTraits.Config
java.lang.Object
software.amazon.smithy.build.transforms.ExcludeTraits.Config
- Enclosing class:
- ExcludeTraits
excludeTraits
configuration settings.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
getTraits
Gets the list of trait shape IDs/namespaces to exclude.- Returns:
- shape IDs to exclude.
-
setTraits
Sets the list of trait shape IDs/namespaces to exclude.Relative shape IDs are considered traits in the prelude namespace,
smithy.api
. Strings ending in "#" are used to exclude traits from an entire namespace.- Parameters:
traits
- Traits to exclude.
-