Class ExcludeShapesByTrait.Config
java.lang.Object
software.amazon.smithy.build.transforms.ExcludeShapesByTrait.Config
- Enclosing class:
- ExcludeShapesByTrait
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
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.
-
setTraits
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.
-