public static interface Stream.Builder extends SdkPojo, CopyableBuilder<Stream.Builder,Stream>
| Modifier and Type | Method and Description |
|---|---|
Stream.Builder |
channelArn(String channelArn)
Channel ARN for the stream.
|
Stream.Builder |
health(StreamHealth health)
The stream’s health.
|
Stream.Builder |
health(String health)
The stream’s health.
|
Stream.Builder |
playbackUrl(String playbackUrl)
URL of the master playlist, required by the video player to play the HLS stream.
|
Stream.Builder |
startTime(Instant startTime)
ISO-8601 formatted timestamp of the stream’s start.
|
Stream.Builder |
state(StreamState state)
The stream’s state.
|
Stream.Builder |
state(String state)
The stream’s state.
|
Stream.Builder |
viewerCount(Long viewerCount)
Number of current viewers of the stream.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStream.Builder channelArn(String channelArn)
Channel ARN for the stream.
channelArn - Channel ARN for the stream.Stream.Builder playbackUrl(String playbackUrl)
URL of the master playlist, required by the video player to play the HLS stream.
playbackUrl - URL of the master playlist, required by the video player to play the HLS stream.Stream.Builder startTime(Instant startTime)
ISO-8601 formatted timestamp of the stream’s start.
startTime - ISO-8601 formatted timestamp of the stream’s start.Stream.Builder state(String state)
The stream’s state.
state - The stream’s state.StreamState,
StreamStateStream.Builder state(StreamState state)
The stream’s state.
state - The stream’s state.StreamState,
StreamStateStream.Builder health(String health)
The stream’s health.
health - The stream’s health.StreamHealth,
StreamHealthStream.Builder health(StreamHealth health)
The stream’s health.
health - The stream’s health.StreamHealth,
StreamHealthStream.Builder viewerCount(Long viewerCount)
Number of current viewers of the stream. A value of -1 indicates that the request timed out; in this case, retry.
viewerCount - Number of current viewers of the stream. A value of -1 indicates that the request timed out; in this
case, retry.Copyright © 2021. All rights reserved.