Class CfnFlowMediaStream.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowMediaStream.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowMediaStream>
- Enclosing class:
CfnFlowMediaStream
@Stability(Stable)
public static final class CfnFlowMediaStream.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowMediaStream>
A fluent builder for
CfnFlowMediaStream.-
Method Summary
Modifier and TypeMethodDescriptionattributes(IResolvable attributes) Attributes that are related to the media stream.Attributes that are related to the media stream.build()The sample rate (in Hz) for the stream.static CfnFlowMediaStream.Builderdescription(String description) A description that can help you quickly identify what your media stream is used for.The Amazon Resource Name (ARN) of the flow that the media stream belongs to.mediaStreamId(Number 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.The key-value pairs that can be used to tag and organize the media stream.videoFormat(String videoFormat) The resolution of the video.
-
Method Details
-
create
@Stability(Stable) public static CfnFlowMediaStream.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFlowMediaStream.Builder.
-
flowArn
The Amazon Resource Name (ARN) of the flow that the media stream belongs to.- Parameters:
flowArn- The Amazon Resource Name (ARN) of the flow that the media stream belongs to. This parameter is required.- Returns:
this- See Also:
-
mediaStreamId
A unique identifier for the media stream.- Parameters:
mediaStreamId- A unique identifier for the media stream. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
mediaStreamType
The type of media stream.- Parameters:
mediaStreamType- The type of media stream. This parameter is required.- Returns:
this- See Also:
-
attributes
Attributes that are related to the media stream.- Parameters:
attributes- Attributes that are related to the media stream. This parameter is required.- Returns:
this- See Also:
-
attributes
@Stability(Stable) public CfnFlowMediaStream.Builder attributes(CfnFlowMediaStream.MediaStreamAttributesProperty attributes) Attributes that are related to the media stream.- Parameters:
attributes- Attributes that are related to the media stream. This parameter is required.- Returns:
this- See Also:
-
clockRate
The sample rate (in Hz) for the stream.If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.
- Parameters:
clockRate- The sample rate (in Hz) for the stream. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
tags
The key-value pairs that can be used to tag and organize the media stream.- Parameters:
tags- The key-value pairs that can be used to tag and organize the media stream. This parameter is required.- Returns:
this- See Also:
-
videoFormat
The resolution of the video.Required for a video media stream and rejected for other media stream types.
- Parameters:
videoFormat- The resolution of the video. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowMediaStream>- Returns:
- a newly built instance of
CfnFlowMediaStream.
-