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 Summary
Constructors Constructor Description Config()
-
Method Summary
All 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.void
setTraits(java.util.Set<java.lang.String> traits)
Sets the shape IDs of the traits to filter shapes by.
-
-
-
Method Detail
-
getTraits
public 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.
-
setTraits
public 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.
-
-