Class ExamplesTrait.Provider
java.lang.Object
software.amazon.smithy.model.traits.ExamplesTrait.Provider
- All Implemented Interfaces:
- TraitService
- Enclosing class:
- ExamplesTrait
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateTrait(ShapeId target, Node value) Creates the trait from a node value.
- 
Constructor Details- 
Providerpublic Provider()
 
- 
- 
Method Details- 
getShapeId- Specified by:
- getShapeIdin interface- TraitService
- Returns:
- Gets the shape ID of the trait that this provider created.
 
- 
createTraitDescription copied from interface:TraitServiceCreates the trait from a node value.- Specified by:
- createTraitin interface- TraitService
- Parameters:
- target- The shape targeted by the trait.
- value- The value of the trait.
- Returns:
- Returns the created trait.
 
 
-