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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MediaStream.Builderattributes(Consumer<MediaStreamAttributes.Builder> attributes)Attributes that are related to the media stream.MediaStream.Builderattributes(MediaStreamAttributes attributes)Attributes that are related to the media stream.MediaStream.BuilderclockRate(Integer clockRate)The sample rate for the stream.MediaStream.Builderdescription(String description)A description that can help you quickly identify what your media stream is used for.MediaStream.Builderfmt(Integer fmt)The format type number (sometimes referred to as RTP payload type) of the media stream.MediaStream.BuildermediaStreamId(Integer mediaStreamId)A unique identifier for the media stream.MediaStream.BuildermediaStreamName(String mediaStreamName)A name that helps you distinguish one media stream from another.MediaStream.BuildermediaStreamType(String mediaStreamType)The type of media stream.MediaStream.BuildermediaStreamType(MediaStreamType mediaStreamType)The type of media stream.MediaStream.BuildervideoFormat(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 Detail
-
attributes
MediaStream.Builder attributes(MediaStreamAttributes 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
default MediaStream.Builder attributes(Consumer<MediaStreamAttributes.Builder> attributes)
Attributes that are related to the media stream. This is a convenience method that creates an instance of theMediaStreamAttributes.Builderavoiding the need to create one manually viaMediaStreamAttributes.builder().When the
Consumercompletes,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:
attributes(MediaStreamAttributes)
-
clockRate
MediaStream.Builder clockRate(Integer 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
MediaStream.Builder description(String 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
MediaStream.Builder fmt(Integer 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
MediaStream.Builder mediaStreamId(Integer 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
MediaStream.Builder mediaStreamName(String 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
MediaStream.Builder mediaStreamType(String 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,MediaStreamType
-
mediaStreamType
MediaStream.Builder mediaStreamType(MediaStreamType 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,MediaStreamType
-
videoFormat
MediaStream.Builder videoFormat(String 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.
-
-