Interface RtmpSourceMetadataInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RtmpSourceMetadataInfo.Builder,,RtmpSourceMetadataInfo> SdkBuilder<RtmpSourceMetadataInfo.Builder,,RtmpSourceMetadataInfo> SdkPojo
- Enclosing class:
RtmpSourceMetadataInfo
@Mutable
@NotThreadSafe
public static interface RtmpSourceMetadataInfo.Builder
extends SdkPojo, CopyableBuilder<RtmpSourceMetadataInfo.Builder,RtmpSourceMetadataInfo>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of the RTMP application.default RtmpSourceMetadataInfo.BuildermediaInfo(Consumer<RtmpMediaInfo.Builder> mediaInfo) Information about the audio and video streams that are part of the RTMP source.mediaInfo(RtmpMediaInfo mediaInfo) Information about the audio and video streams that are part of the RTMP source.streamName(String streamName) The name of the RTMP stream.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
-
applicationName
The name of the RTMP application.
- Parameters:
applicationName- The name of the RTMP application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamName
The name of the RTMP stream.
- Parameters:
streamName- The name of the RTMP stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaInfo
Information about the audio and video streams that are part of the RTMP source.
- Parameters:
mediaInfo- Information about the audio and video streams that are part of the RTMP source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaInfo
Information about the audio and video streams that are part of the RTMP source.
This is a convenience method that creates an instance of theRtmpMediaInfo.Builderavoiding the need to create one manually viaRtmpMediaInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomediaInfo(RtmpMediaInfo).- Parameters:
mediaInfo- a consumer that will call methods onRtmpMediaInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-