Class Rpcv2CborTrait.Provider
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait.Provider
software.amazon.smithy.protocol.traits.Rpcv2CborTrait.Provider
- All Implemented Interfaces:
 TraitService
- Enclosing class:
 - Rpcv2CborTrait
 
Implements the 
AbstractTrait.Provider.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreateTrait(ShapeId target, Node value) Creates the trait from a node value.Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait.Provider
getShapeId 
- 
Constructor Details
- 
Provider
public Provider() 
 - 
 - 
Method Details
- 
createTrait
Description copied from interface:TraitServiceCreates 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.
 
 
 -