Class StringListTrait.Provider<T extends StringListTrait>

java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait.Provider
software.amazon.smithy.model.traits.StringListTrait.Provider<T>
All Implemented Interfaces:
TraitService
Direct Known Subclasses:
ConditionKeysTrait.Provider, RequiredActionsTrait.Provider, SupportedPrincipalTypesTrait.Provider, SuppressTrait.Provider, TagsTrait.Provider
Enclosing class:
StringListTrait

public static class StringListTrait.Provider<T extends StringListTrait> extends AbstractTrait.Provider
Trait provider that expects a list of string values.
  • Constructor Details

  • Method Details

    • createTrait

      public T createTrait(ShapeId id, Node value)
      Description copied from interface: TraitService
      Creates the trait from a node value.
      Parameters:
      id - The shape targeted by the trait.
      value - The value of the trait.
      Returns:
      Returns the created trait.