@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()
Time when the channel went offline.
|
Boolean |
getHasErrorEvent()
If
true , this stream encountered a quota breach or failure. |
Date |
getStartTime()
Time 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
Time when the channel went offline.
|
void |
setHasErrorEvent(Boolean hasErrorEvent)
If
true , this stream encountered a quota breach or failure. |
void |
setStartTime(Date startTime)
Time 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)
Time when the channel went offline.
|
StreamSessionSummary |
withHasErrorEvent(Boolean hasErrorEvent)
If
true , this stream encountered a quota breach or failure. |
StreamSessionSummary |
withStartTime(Date startTime)
Time when the channel went live.
|
StreamSessionSummary |
withStreamId(String streamId)
Unique identifier for a live or previously live stream in the specified channel.
|
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 void setStartTime(Date startTime)
Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime
- Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getStartTime()
Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
public StreamSessionSummary withStartTime(Date startTime)
Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime
- Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a
string.public void setEndTime(Date endTime)
Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string.
For live streams, this is NULL
.
endTime
- Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a
string. For live streams, this is NULL
.public Date getEndTime()
Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string.
For live streams, this is NULL
.
NULL
.public StreamSessionSummary withEndTime(Date endTime)
Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string.
For live streams, this is NULL
.
endTime
- Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a
string. 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 String toString()
toString
in class Object
Object.toString()
public StreamSessionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.