Class IncludeTraits.Config
java.lang.Object
software.amazon.smithy.build.transforms.IncludeTraits.Config
- Enclosing class:
 - IncludeTraits
 
includeTraits configuration settings.- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Config
public Config() 
 - 
 - 
Method Details
- 
getTraits
Gets the list of trait shape IDs to include.- Returns:
 - shape IDs to include.
 
 - 
setTraits
Sets the list of trait shape IDs to include.End an argument with "#" to include the traits from an entire namespace. Trait shape IDs that are relative are assumed to be part of the
smithy.apiprelude namespace.- Parameters:
 traits- Traits to include.
 
 -