Class IncludeTraits.Config

java.lang.Object
software.amazon.smithy.build.transforms.IncludeTraits.Config
Enclosing class:
IncludeTraits

public static final class IncludeTraits.Config extends Object
includeTraits configuration settings.
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • getTraits

      public Set<String> getTraits()
      Gets the list of trait shape IDs to include.
      Returns:
      shape IDs to include.
    • setTraits

      public void setTraits(Set<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.