Class ExcludeShapesByTrait.Config
- java.lang.Object
- 
- software.amazon.smithy.build.transforms.ExcludeShapesByTrait.Config
 
- 
- Enclosing class:
- ExcludeShapesByTrait
 
 public static final class ExcludeShapesByTrait.Config extends java.lang.Object
- 
- 
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 shape IDs of the traits to filter shapes by.voidsetTraits(java.util.Set<java.lang.String> traits)Sets the shape IDs of the traits to filter shapes by.
 
- 
- 
- 
Method Detail- 
getTraitspublic java.util.Set<java.lang.String> getTraits() Gets the shape IDs of the traits to filter shapes by.Relative shape IDs are assumed to be in the smithy.api namespace. - Returns:
- Returns the trait shape IDs.
 
 - 
setTraitspublic void setTraits(java.util.Set<java.lang.String> traits) Sets the shape IDs of the traits to filter shapes by.- Parameters:
- traits- The shape IDs of the traits that if present causes a shape to be removed.
 
 
- 
 
-