Class CfnChannel.TimecodeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.TimecodeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.TimecodeConfigProperty>
- Enclosing interface:
CfnChannel.TimecodeConfigProperty
@Stability(Stable)
public static final class CfnChannel.TimecodeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.TimecodeConfigProperty>
A builder for
CfnChannel.TimecodeConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnChannel.TimecodeConfigProperty.getSource()
syncThreshold
(Number syncThreshold) Sets the value ofCfnChannel.TimecodeConfigProperty.getSyncThreshold()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
Sets the value ofCfnChannel.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 CfnChannel.TimecodeConfigProperty.Builder syncThreshold(Number syncThreshold) Sets the value ofCfnChannel.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.TimecodeConfigProperty>
- Returns:
- a new instance of
CfnChannel.TimecodeConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-