Class TimecodeConfig.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.TimecodeConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TimecodeConfig>
- Enclosing interface:
TimecodeConfig
@Stability(Experimental)
public static final class TimecodeConfig.Builder
extends Object
implements software.amazon.jsii.Builder<TimecodeConfig>
A builder for
TimecodeConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.source(TimecodeSource source) Sets the value ofTimecodeConfig.getSource()syncThreshold(Number syncThreshold) Sets the value ofTimecodeConfig.getSyncThreshold()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
Sets the value ofTimecodeConfig.getSource()- Parameters:
source- The source of timecode.- Returns:
this
-
syncThreshold
Sets the value ofTimecodeConfig.getSyncThreshold()- Parameters:
syncThreshold- The threshold in frames beyond which output timecode is resynchronized to the input timecode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TimecodeConfig>- Returns:
- a new instance of
TimecodeConfig - Throws:
NullPointerException- if any required attribute was not provided
-