@Generated(value="software.amazon.awssdk:codegen") public final class StreamEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamEvent.Builder,StreamEvent>
Object specifying a stream’s events. For a list of events, see Using Amazon EventBridge with Amazon IVS.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StreamEvent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
eventTime()
Time when the event occurred.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
Name that identifies the stream event within a
type. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamEvent.Builder> |
serializableBuilderClass() |
StreamEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
Logical group for certain events.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant eventTime()
Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.
public final String name()
Name that identifies the stream event within a type.
type.public final String type()
Logical group for certain events.
public StreamEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StreamEvent.Builder,StreamEvent>public static StreamEvent.Builder builder()
public static Class<? extends StreamEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.