Class IncludeTraits.Config
- java.lang.Object
- 
- software.amazon.smithy.build.transforms.IncludeTraits.Config
 
- 
- Enclosing class:
- IncludeTraits
 
 public static final class IncludeTraits.Config extends java.lang.ObjectincludeTraitsconfiguration settings.
- 
- 
Constructor SummaryConstructors Constructor Description Config()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.String>getTraits()Gets the list of trait shape IDs to include.voidsetTraits(java.util.Set<java.lang.String> traits)Sets the list of trait shape IDs to include.
 
- 
- 
- 
Method Detail- 
getTraitspublic java.util.Set<java.lang.String> getTraits() Gets the list of trait shape IDs to include.- Returns:
- shape IDs to include.
 
 - 
setTraitspublic void setTraits(java.util.Set<java.lang.String> traits) 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.
 
 
- 
 
-