Class EventStreamTaggedUnionJsonMarshaller<BaseEventT>
- java.lang.Object
-
- software.amazon.awssdk.awscore.eventstream.EventStreamTaggedUnionJsonMarshaller<BaseEventT>
-
- Type Parameters:
BaseEventT
- Base type for all events.
- All Implemented Interfaces:
Marshaller<BaseEventT>
public final class EventStreamTaggedUnionJsonMarshaller<BaseEventT> extends Object implements Marshaller<BaseEventT>
CompositeMarshaller
that dispatches the given event to the correct marshaller based on the event class type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventStreamTaggedUnionJsonMarshaller.Builder<BaseEventT>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventStreamTaggedUnionJsonMarshaller.Builder
builder()
SdkHttpFullRequest
marshall(BaseEventT eventT)
-
-
-
Method Detail
-
marshall
public SdkHttpFullRequest marshall(BaseEventT eventT)
- Specified by:
marshall
in interfaceMarshaller<BaseEventT>
-
builder
public static EventStreamTaggedUnionJsonMarshaller.Builder builder()
-
-