Class CfnFlowMediaStreamPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowMediaStreamPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowMediaStreamPropsMixin>
- Enclosing class:
CfnFlowMediaStreamPropsMixin
@Stability(Stable)
public static final class CfnFlowMediaStreamPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowMediaStreamPropsMixin>
A fluent builder for
CfnFlowMediaStreamPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionAttributes that are related to the media stream.attributes(IResolvable attributes) Attributes that are related to the media stream.build()The sample rate (in Hz) for the stream.create()create(CfnPropertyMixinOptions options) description(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 CfnFlowMediaStreamPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnFlowMediaStreamPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnFlowMediaStreamPropsMixin.Builder.
-
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 CfnFlowMediaStreamPropsMixin.Builder attributes(CfnFlowMediaStreamPropsMixin.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:
-
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
@Stability(Stable) public CfnFlowMediaStreamPropsMixin.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. This parameter is required.- Returns:
this- See Also:
-
mediaStreamType
@Stability(Stable) public CfnFlowMediaStreamPropsMixin.Builder mediaStreamType(String mediaStreamType) The type of media stream.- Parameters:
mediaStreamType- The type of media stream. 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<CfnFlowMediaStreamPropsMixin>- Returns:
- a newly built instance of
CfnFlowMediaStreamPropsMixin.
-