Interface RtmpMediaInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RtmpMediaInfo.Builder,,RtmpMediaInfo> SdkBuilder<RtmpMediaInfo.Builder,,RtmpMediaInfo> SdkPojo
- Enclosing class:
RtmpMediaInfo
@Mutable
@NotThreadSafe
public static interface RtmpMediaInfo.Builder
extends SdkPojo, CopyableBuilder<RtmpMediaInfo.Builder,RtmpMediaInfo>
-
Method Summary
Modifier and TypeMethodDescriptionstreams(Collection<RtmpMediaStreamInfo> streams) A list of the individual audio and video streams that make up the RTMP source.streams(Consumer<RtmpMediaStreamInfo.Builder>... streams) A list of the individual audio and video streams that make up the RTMP source.streams(RtmpMediaStreamInfo... streams) A list of the individual audio and video streams that make up the RTMP source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
streams
A list of the individual audio and video streams that make up the RTMP source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.
- Parameters:
streams- A list of the individual audio and video streams that make up the RTMP source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
A list of the individual audio and video streams that make up the RTMP source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.
- Parameters:
streams- A list of the individual audio and video streams that make up the RTMP source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
A list of the individual audio and video streams that make up the RTMP source. This includes details about each stream's codec, resolution, frame rate, audio channels, and other parameters.
This is a convenience method that creates an instance of theRtmpMediaStreamInfo.Builderavoiding the need to create one manually viaRtmpMediaStreamInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreams(List<RtmpMediaStreamInfo>).- Parameters:
streams- a consumer that will call methods onRtmpMediaStreamInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-