Class ProtocolDefinitionTrait.Provider
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTrait.Provider
-
- software.amazon.smithy.model.traits.ProtocolDefinitionTrait.Provider
-
- All Implemented Interfaces:
TraitService
- Enclosing class:
- ProtocolDefinitionTrait
public static final class ProtocolDefinitionTrait.Provider extends AbstractTrait.Provider
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtocolDefinitionTrait
createTrait(ShapeId target, Node value)
Creates the trait from a node value.-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait.Provider
getShapeId
-
-
-
-
Method Detail
-
createTrait
public ProtocolDefinitionTrait createTrait(ShapeId target, Node value)
Description copied from interface:TraitService
Creates the trait from a node value.- Parameters:
target
- The shape targeted by the trait.value
- The value of the trait.- Returns:
- Returns the created trait.
-
-