Interface SubscribeToShardEventStream
-
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
SubscribeToShardEvent
@Generated("software.amazon.awssdk:codegen") public interface SubscribeToShardEventStream extends SdkPojo
Base interface for all event types in SubscribeToShardEventStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSubscribeToShardEventStream.EventTypeThe known possible types of events forSubscribeToShardEventStream.
-
Field Summary
Fields Modifier and Type Field Description static SubscribeToShardEventStreamUNKNOWNSpecial type ofSubscribeToShardEventStreamfor unknown types of events that this version of the SDK does not know about
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(SubscribeToShardResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofSubscribeToShardEventStream.default SubscribeToShardEventStream.EventTypesdkEventType()The type of this event.static SubscribeToShardEvent.BuildersubscribeToShardEventBuilder()Create a builder for theSubscribeToShardEventevent type for this stream.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final SubscribeToShardEventStream UNKNOWN
Special type ofSubscribeToShardEventStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
subscribeToShardEventBuilder
static SubscribeToShardEvent.Builder subscribeToShardEventBuilder()
Create a builder for theSubscribeToShardEventevent type for this stream.
-
sdkEventType
default SubscribeToShardEventStream.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(SubscribeToShardResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofSubscribeToShardEventStream.- Parameters:
visitor- Visitor to invoke.
-
-