Class StreamEvent
- java.lang.Object
-
- software.amazon.awssdk.services.ivs.model.StreamEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamEvent.Builder,StreamEvent>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStreamEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstanteventTime()Time when the event occurred.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Name that identifies the stream event within atype.List<SdkField<?>>sdkFields()static Class<? extends StreamEvent.Builder>serializableBuilderClass()StreamEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()Logical group for certain events.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventTime
public final Instant eventTime()
Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.
- Returns:
- Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.
-
name
public final String name()
Name that identifies the stream event within a
type.- Returns:
- Name that identifies the stream event within a
type.
-
type
public final String type()
Logical group for certain events.
- Returns:
- Logical group for certain events.
-
toBuilder
public StreamEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamEvent.Builder,StreamEvent>
-
builder
public static StreamEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends StreamEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-