public static interface StreamSummary.Builder extends SdkPojo, CopyableBuilder<StreamSummary.Builder,StreamSummary>
| Modifier and Type | Method and Description |
|---|---|
StreamSummary.Builder |
channelArn(String channelArn)
Channel ARN for the stream.
|
StreamSummary.Builder |
health(StreamHealth health)
The stream’s health.
|
StreamSummary.Builder |
health(String health)
The stream’s health.
|
StreamSummary.Builder |
startTime(Instant startTime)
Time of the stream’s start.
|
StreamSummary.Builder |
state(StreamState state)
The stream’s state.
|
StreamSummary.Builder |
state(String state)
The stream’s state.
|
StreamSummary.Builder |
streamId(String streamId)
Unique identifier for a live or previously live stream in the specified channel.
|
StreamSummary.Builder |
viewerCount(Long viewerCount)
A count of concurrent views of the stream.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStreamSummary.Builder channelArn(String channelArn)
Channel ARN for the stream.
channelArn - Channel ARN for the stream.StreamSummary.Builder health(String health)
The stream’s health.
health - The stream’s health.StreamHealth,
StreamHealthStreamSummary.Builder health(StreamHealth health)
The stream’s health.
health - The stream’s health.StreamHealth,
StreamHealthStreamSummary.Builder startTime(Instant startTime)
Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string.
startTime - Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a
string.StreamSummary.Builder state(String state)
The stream’s state. Do not rely on the OFFLINE state, as the API may not return it; instead, a
"NotBroadcasting" error will indicate that the stream is not live.
state - The stream’s state. Do not rely on the OFFLINE state, as the API may not return it;
instead, a "NotBroadcasting" error will indicate that the stream is not live.StreamState,
StreamStateStreamSummary.Builder state(StreamState state)
The stream’s state. Do not rely on the OFFLINE state, as the API may not return it; instead, a
"NotBroadcasting" error will indicate that the stream is not live.
state - The stream’s state. Do not rely on the OFFLINE state, as the API may not return it;
instead, a "NotBroadcasting" error will indicate that the stream is not live.StreamState,
StreamStateStreamSummary.Builder streamId(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.StreamSummary.Builder viewerCount(Long viewerCount)
A count of concurrent views of the stream. Typically, a new view appears in viewerCount within
15 seconds of when video playback starts and a view is removed from viewerCount within 1 minute
of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.
viewerCount - A count of concurrent views of the stream. Typically, a new view appears in viewerCount
within 15 seconds of when video playback starts and a view is removed from viewerCount
within 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in
this case, retry.Copyright © 2023. All rights reserved.