@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamEvent extends Object implements Serializable, Cloneable, StructuredPojo
Object specifying a stream’s events. For a list of events, see Using Amazon EventBridge with Amazon IVS.
| Constructor and Description |
|---|
StreamEvent() |
| Modifier and Type | Method and Description |
|---|---|
StreamEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getEventTime()
UTC ISO-8601 formatted timestamp of when the event occurred.
|
String |
getName()
Name that identifies the stream event within a
type. |
String |
getType()
Logical group for certain events.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEventTime(Date eventTime)
UTC ISO-8601 formatted timestamp of when the event occurred.
|
void |
setName(String name)
Name that identifies the stream event within a
type. |
void |
setType(String type)
Logical group for certain events.
|
String |
toString()
Returns a string representation of this object.
|
StreamEvent |
withEventTime(Date eventTime)
UTC ISO-8601 formatted timestamp of when the event occurred.
|
StreamEvent |
withName(String name)
Name that identifies the stream event within a
type. |
StreamEvent |
withType(String type)
Logical group for certain events.
|
public void setEventTime(Date eventTime)
UTC ISO-8601 formatted timestamp of when the event occurred.
eventTime - UTC ISO-8601 formatted timestamp of when the event occurred.public Date getEventTime()
UTC ISO-8601 formatted timestamp of when the event occurred.
public StreamEvent withEventTime(Date eventTime)
UTC ISO-8601 formatted timestamp of when the event occurred.
eventTime - UTC ISO-8601 formatted timestamp of when the event occurred.public void setName(String name)
Name that identifies the stream event within a type.
name - Name that identifies the stream event within a type.public String getName()
Name that identifies the stream event within a type.
type.public StreamEvent withName(String name)
Name that identifies the stream event within a type.
name - Name that identifies the stream event within a type.public void setType(String type)
Logical group for certain events.
type - Logical group for certain events.public String getType()
Logical group for certain events.
public StreamEvent withType(String type)
Logical group for certain events.
type - Logical group for certain events.public String toString()
toString in class ObjectObject.toString()public StreamEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.