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.Object
includeTraits
configuration settings.
-
-
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 list of trait shape IDs to include.void
setTraits(java.util.Set<java.lang.String> traits)
Sets the list of trait shape IDs to include.
-
-
-
Method Detail
-
getTraits
public java.util.Set<java.lang.String> getTraits()
Gets the list of trait shape IDs to include.- Returns:
- shape IDs to include.
-
setTraits
public 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.api
prelude namespace.- Parameters:
traits
- Traits to include.
-
-