Class ExcludeTraits.Config
- java.lang.Object
- 
- software.amazon.smithy.build.transforms.ExcludeTraits.Config
 
- 
- Enclosing class:
- ExcludeTraits
 
 public static final class ExcludeTraits.Config extends java.lang.ObjectexcludeTraitsconfiguration 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/namespaces to exclude.voidsetTraits(java.util.Set<java.lang.String> traits)Sets the list of trait shape IDs/namespaces to exclude.
 
- 
- 
- 
Method Detail- 
getTraitspublic java.util.Set<java.lang.String> getTraits() Gets the list of trait shape IDs/namespaces to exclude.- Returns:
- shape IDs to exclude.
 
 - 
setTraitspublic void setTraits(java.util.Set<java.lang.String> traits) 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.
 
 
- 
 
-