Interface SendMessageEvents
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
DefaultContentBlockDelta,DefaultContentBlockStart,DefaultContentBlockStop,DefaultHeartbeat,DefaultResponseCompleted,DefaultResponseCreated,DefaultResponseFailed,DefaultResponseInProgress,DefaultSummary,SendMessageContentBlockDeltaEvent,SendMessageContentBlockStartEvent,SendMessageContentBlockStopEvent,SendMessageHeartbeatEvent,SendMessageResponseCompletedEvent,SendMessageResponseCreatedEvent,SendMessageResponseFailedEvent,SendMessageResponseInProgressEvent,SendMessageSummaryEvent
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface SendMessageEvents
extends SdkPojo
Base interface for all event types in SendMessageEvents.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forSendMessageEvents. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SendMessageEventsSpecial type ofSendMessageEventsfor unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(SendMessageResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofSendMessageEvents.Create a builder for thecontentBlockDeltaevent type for this stream.Create a builder for thecontentBlockStartevent type for this stream.Create a builder for thecontentBlockStopevent type for this stream.Create a builder for theheartbeatevent type for this stream.Create a builder for theresponseCompletedevent type for this stream.Create a builder for theresponseCreatedevent type for this stream.Create a builder for theresponseFailedevent type for this stream.Create a builder for theresponseInProgressevent type for this stream.default SendMessageEvents.EventTypeThe type of this event.Create a builder for thesummaryevent type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofSendMessageEventsfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
responseCreatedBuilder
Create a builder for theresponseCreatedevent type for this stream. -
responseInProgressBuilder
Create a builder for theresponseInProgressevent type for this stream. -
responseCompletedBuilder
Create a builder for theresponseCompletedevent type for this stream. -
responseFailedBuilder
Create a builder for theresponseFailedevent type for this stream. -
summaryBuilder
Create a builder for thesummaryevent type for this stream. -
heartbeatBuilder
Create a builder for theheartbeatevent type for this stream. -
contentBlockStartBuilder
Create a builder for thecontentBlockStartevent type for this stream. -
contentBlockDeltaBuilder
Create a builder for thecontentBlockDeltaevent type for this stream. -
contentBlockStopBuilder
Create a builder for thecontentBlockStopevent type for this stream. -
sdkEventType
The type of this event. Corresponds to the:event-typeheader on the Message. -
accept
Calls the appropriate visit method depending on the subtype ofSendMessageEvents.- Parameters:
visitor- Visitor to invoke.
-