Interface StreamSummary.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<StreamSummary.Builder,,- StreamSummary> - SdkBuilder<StreamSummary.Builder,,- StreamSummary> - SdkPojo
- Enclosing class:
- StreamSummary
- 
Method SummaryModifier and TypeMethodDescriptionchannelArn(String channelArn) Channel ARN for the stream.The stream’s health.health(StreamHealth health) The stream’s health.Time of the stream’s start.The stream’s state.state(StreamState state) The stream’s state.Unique identifier for a live or previously live stream in the specified channel.viewerCount(Long viewerCount) A count of concurrent views of the stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
channelArnChannel ARN for the stream. - Parameters:
- channelArn- Channel ARN for the stream.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
healthThe stream’s health. - Parameters:
- health- The stream’s health.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
healthThe stream’s health. - Parameters:
- health- The stream’s health.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
startTimeTime of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string. - Parameters:
- startTime- Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateThe stream’s state. Do not rely on the OFFLINEstate, as the API may not return it; instead, a "NotBroadcasting" error will indicate that the stream is not live.- Parameters:
- state- The stream’s state. Do not rely on the- OFFLINEstate, as the API may not return it; instead, a "NotBroadcasting" error will indicate that the stream is not live.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateThe stream’s state. Do not rely on the OFFLINEstate, as the API may not return it; instead, a "NotBroadcasting" error will indicate that the stream is not live.- Parameters:
- state- The stream’s state. Do not rely on the- OFFLINEstate, as the API may not return it; instead, a "NotBroadcasting" error will indicate that the stream is not live.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
streamIdUnique identifier for a live or previously live stream in the specified channel. - Parameters:
- streamId- Unique identifier for a live or previously live stream in the specified channel.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
viewerCountA count of concurrent views of the stream. Typically, a new view appears in viewerCountwithin 15 seconds of when video playback starts and a view is removed fromviewerCountwithin 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.- Parameters:
- viewerCount- A count of concurrent views of the stream. Typically, a new view appears in- viewerCountwithin 15 seconds of when video playback starts and a view is removed from- viewerCountwithin 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-