Class CfnFlowPropsMixin.MediaStreamProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowPropsMixin.MediaStreamProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.MediaStreamProperty>
- Enclosing interface:
CfnFlowPropsMixin.MediaStreamProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.MediaStreamProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.MediaStreamProperty>
A builder for
CfnFlowPropsMixin.MediaStreamProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFlowPropsMixin.MediaStreamProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getAttributes()build()Builds the configured instance.Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getClockRate()description(String description) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getDescription()Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getFmt()mediaStreamId(Number mediaStreamId) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getMediaStreamId()mediaStreamName(String mediaStreamName) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getMediaStreamName()mediaStreamType(String mediaStreamType) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getMediaStreamType()videoFormat(String videoFormat) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getVideoFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getAttributes()- Parameters:
attributes- Attributes that are related to the media stream.- Returns:
this
-
attributes
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder attributes(CfnFlowPropsMixin.MediaStreamAttributesProperty attributes) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getAttributes()- Parameters:
attributes- Attributes that are related to the media stream.- Returns:
this
-
clockRate
Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getClockRate()- Parameters:
clockRate- The sample rate for the stream. This value is measured in Hz.- Returns:
this
-
description
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder description(String description) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getDescription()- Parameters:
description- A description that can help you quickly identify what your media stream is used for.- Returns:
this
-
fmt
Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getFmt()- 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:
this
-
mediaStreamId
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder mediaStreamId(Number mediaStreamId) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getMediaStreamId()- Parameters:
mediaStreamId- A unique identifier for the media stream.- Returns:
this
-
mediaStreamName
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder mediaStreamName(String mediaStreamName) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getMediaStreamName()- Parameters:
mediaStreamName- A name that helps you distinguish one media stream from another.- Returns:
this
-
mediaStreamType
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder mediaStreamType(String mediaStreamType) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getMediaStreamType()- Parameters:
mediaStreamType- The type of media stream.- Returns:
this
-
videoFormat
@Stability(Stable) public CfnFlowPropsMixin.MediaStreamProperty.Builder videoFormat(String videoFormat) Sets the value ofCfnFlowPropsMixin.MediaStreamProperty.getVideoFormat()- Parameters:
videoFormat- The resolution of the video.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.MediaStreamProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.MediaStreamProperty - Throws:
NullPointerException- if any required attribute was not provided
-