Class CfnChannelPropsMixin.TimecodeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.TimecodeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.TimecodeConfigProperty>
- Enclosing interface:
CfnChannelPropsMixin.TimecodeConfigProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.TimecodeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.TimecodeConfigProperty>
A builder for
CfnChannelPropsMixin.TimecodeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.TimecodeConfigProperty.getSource()syncThreshold(Number syncThreshold) Sets the value ofCfnChannelPropsMixin.TimecodeConfigProperty.getSyncThreshold()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
Sets the value ofCfnChannelPropsMixin.TimecodeConfigProperty.getSource()- Parameters:
source- Identifies the source for the timecode that will be associated with the channel outputs. Embedded (embedded): Initialize the output timecode with timecode from the source. If no embedded timecode is detected in the source, the system falls back to using "Start at 0" (zerobased). System Clock (systemclock): Use the UTC time. Start at 0 (zerobased): The time of the first frame of the channel will be 00:00:00:00.- Returns:
this
-
syncThreshold
@Stability(Stable) public CfnChannelPropsMixin.TimecodeConfigProperty.Builder syncThreshold(Number syncThreshold) Sets the value ofCfnChannelPropsMixin.TimecodeConfigProperty.getSyncThreshold()- Parameters:
syncThreshold- The threshold in frames beyond which output timecode is resynchronized to the input timecode. Discrepancies below this threshold are permitted to avoid unnecessary discontinuities in the output timecode. There is no timecode sync when this is not specified.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.TimecodeConfigProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.TimecodeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-