Class EventPayloadTrait
- java.lang.Object
- 
- software.amazon.smithy.model.traits.AnnotationTrait
- 
- software.amazon.smithy.model.traits.EventPayloadTrait
 
 
- 
- All Implemented Interfaces:
- FromSourceLocation,- ToNode,- ToShapeId,- Trait
 
 public final class EventPayloadTrait extends AnnotationTrait Marks a structure member of an event as the event payload. This trait can targets members of a structure marked with the event trait that targets a blob or structure.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEventPayloadTrait.Provider
 - 
Constructor SummaryConstructors Constructor Description EventPayloadTrait()EventPayloadTrait(ObjectNode node)
 - 
Method Summary- 
Methods inherited from class software.amazon.smithy.model.traits.AnnotationTraitequals, getSourceLocation, hashCode, toNode, toShapeId
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface software.amazon.smithy.model.traits.TraitisSynthetic
 
- 
 
- 
- 
- 
Field Detail- 
IDpublic static final ShapeId ID 
 
- 
 - 
Constructor Detail- 
EventPayloadTraitpublic EventPayloadTrait(ObjectNode node) 
 - 
EventPayloadTraitpublic EventPayloadTrait() 
 
- 
 
-