@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamSessionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a stream session.
| Constructor and Description |
|---|
StreamSessionSummary() |
| Modifier and Type | Method and Description |
|---|---|
StreamSessionSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
UTC ISO-8601 formatted timestamp of when the channel went offline.
|
Boolean |
getHasErrorEvent()
If
true, this stream encountered a quota breach or failure. |
Date |
getStartTime()
UTC ISO-8601 formatted timestamp of when the channel went live.
|
String |
getStreamId()
Unique identifier for a live or previously live stream in the specified channel.
|
int |
hashCode() |
Boolean |
isHasErrorEvent()
If
true, this stream encountered a quota breach or failure. |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndTime(Date endTime)
UTC ISO-8601 formatted timestamp of when the channel went offline.
|
void |
setHasErrorEvent(Boolean hasErrorEvent)
If
true, this stream encountered a quota breach or failure. |
void |
setStartTime(Date startTime)
UTC ISO-8601 formatted timestamp of when the channel went live.
|
void |
setStreamId(String streamId)
Unique identifier for a live or previously live stream in the specified channel.
|
String |
toString()
Returns a string representation of this object.
|
StreamSessionSummary |
withEndTime(Date endTime)
UTC ISO-8601 formatted timestamp of when the channel went offline.
|
StreamSessionSummary |
withHasErrorEvent(Boolean hasErrorEvent)
If
true, this stream encountered a quota breach or failure. |
StreamSessionSummary |
withStartTime(Date startTime)
UTC ISO-8601 formatted timestamp of when the channel went live.
|
StreamSessionSummary |
withStreamId(String streamId)
Unique identifier for a live or previously live stream in the specified channel.
|
public void setEndTime(Date endTime)
UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is NULL.
endTime - UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is
NULL.public Date getEndTime()
UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is NULL.
NULL.public StreamSessionSummary withEndTime(Date endTime)
UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is NULL.
endTime - UTC ISO-8601 formatted timestamp of when the channel went offline. For live streams, this is
NULL.public void setHasErrorEvent(Boolean hasErrorEvent)
If true, this stream encountered a quota breach or failure.
hasErrorEvent - If true, this stream encountered a quota breach or failure.public Boolean getHasErrorEvent()
If true, this stream encountered a quota breach or failure.
true, this stream encountered a quota breach or failure.public StreamSessionSummary withHasErrorEvent(Boolean hasErrorEvent)
If true, this stream encountered a quota breach or failure.
hasErrorEvent - If true, this stream encountered a quota breach or failure.public Boolean isHasErrorEvent()
If true, this stream encountered a quota breach or failure.
true, this stream encountered a quota breach or failure.public void setStartTime(Date startTime)
UTC ISO-8601 formatted timestamp of when the channel went live.
startTime - UTC ISO-8601 formatted timestamp of when the channel went live.public Date getStartTime()
UTC ISO-8601 formatted timestamp of when the channel went live.
public StreamSessionSummary withStartTime(Date startTime)
UTC ISO-8601 formatted timestamp of when the channel went live.
startTime - UTC ISO-8601 formatted timestamp of when the channel went live.public void setStreamId(String streamId)
Unique identifier for a live or previously live stream in the specified channel.
streamId - Unique identifier for a live or previously live stream in the specified channel.public String getStreamId()
Unique identifier for a live or previously live stream in the specified channel.
public StreamSessionSummary withStreamId(String streamId)
Unique identifier for a live or previously live stream in the specified channel.
streamId - Unique identifier for a live or previously live stream in the specified channel.public String toString()
toString in class ObjectObject.toString()public StreamSessionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.