Interface MediaStream.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaStream.Builder,
,MediaStream> SdkBuilder<MediaStream.Builder,
,MediaStream> SdkPojo
- Enclosing class:
MediaStream
public static interface MediaStream.Builder
extends SdkPojo, CopyableBuilder<MediaStream.Builder,MediaStream>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MediaStream.Builder
attributes
(Consumer<MediaStreamAttributes.Builder> attributes) Attributes that are related to the media stream.attributes
(MediaStreamAttributes attributes) Attributes that are related to the media stream.The sample rate for the stream.description
(String description) A description that can help you quickly identify what your media stream is used for.The format type number (sometimes referred to as RTP payload type) of the media stream.mediaStreamId
(Integer mediaStreamId) A unique identifier for the media stream.mediaStreamName
(String mediaStreamName) A name that helps you distinguish one media stream from another.mediaStreamType
(String mediaStreamType) The type of media stream.mediaStreamType
(MediaStreamType mediaStreamType) The type of media stream.videoFormat
(String videoFormat) The resolution of the video.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
attributes
Attributes that are related to the media stream.- Parameters:
attributes
- Attributes that are related to the media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes that are related to the media stream. This is a convenience method that creates an instance of theMediaStreamAttributes.Builder
avoiding the need to create one manually viaMediaStreamAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(MediaStreamAttributes)
.- Parameters:
attributes
- a consumer that will call methods onMediaStreamAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clockRate
The sample rate for the stream. This value is measured in Hz.- Parameters:
clockRate
- The sample rate for the stream. This value is measured in Hz.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description that can help you quickly identify what your media stream is used for.- Parameters:
description
- A description that can help you quickly identify what your media stream is used for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fmt
The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.- Parameters:
fmt
- The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamId
A unique identifier for the media stream.- Parameters:
mediaStreamId
- A unique identifier for the media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamName
A name that helps you distinguish one media stream from another.- Parameters:
mediaStreamName
- A name that helps you distinguish one media stream from another.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaStreamType
The type of media stream.- Parameters:
mediaStreamType
- The type of media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaStreamType
The type of media stream.- Parameters:
mediaStreamType
- The type of media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
videoFormat
The resolution of the video.- Parameters:
videoFormat
- The resolution of the video.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-