Class CfnChannel.InputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.InputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.InputSettingsProperty>
- Enclosing interface:
CfnChannel.InputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.InputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.InputSettingsProperty>
A builder for
CfnChannel.InputSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioSelectors
(List<? extends Object> audioSelectors) Sets the value ofCfnChannel.InputSettingsProperty.getAudioSelectors()
audioSelectors
(IResolvable audioSelectors) Sets the value ofCfnChannel.InputSettingsProperty.getAudioSelectors()
build()
Builds the configured instance.captionSelectors
(List<? extends Object> captionSelectors) Sets the value ofCfnChannel.InputSettingsProperty.getCaptionSelectors()
captionSelectors
(IResolvable captionSelectors) Sets the value ofCfnChannel.InputSettingsProperty.getCaptionSelectors()
deblockFilter
(String deblockFilter) Sets the value ofCfnChannel.InputSettingsProperty.getDeblockFilter()
denoiseFilter
(String denoiseFilter) Sets the value ofCfnChannel.InputSettingsProperty.getDenoiseFilter()
filterStrength
(Number filterStrength) Sets the value ofCfnChannel.InputSettingsProperty.getFilterStrength()
inputFilter
(String inputFilter) Sets the value ofCfnChannel.InputSettingsProperty.getInputFilter()
networkInputSettings
(IResolvable networkInputSettings) Sets the value ofCfnChannel.InputSettingsProperty.getNetworkInputSettings()
networkInputSettings
(CfnChannel.NetworkInputSettingsProperty networkInputSettings) Sets the value ofCfnChannel.InputSettingsProperty.getNetworkInputSettings()
Sets the value ofCfnChannel.InputSettingsProperty.getScte35Pid()
smpte2038DataPreference
(String smpte2038DataPreference) Sets the value ofCfnChannel.InputSettingsProperty.getSmpte2038DataPreference()
sourceEndBehavior
(String sourceEndBehavior) Sets the value ofCfnChannel.InputSettingsProperty.getSourceEndBehavior()
videoSelector
(IResolvable videoSelector) Sets the value ofCfnChannel.InputSettingsProperty.getVideoSelector()
videoSelector
(CfnChannel.VideoSelectorProperty videoSelector) Sets the value ofCfnChannel.InputSettingsProperty.getVideoSelector()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioSelectors
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder audioSelectors(IResolvable audioSelectors) Sets the value ofCfnChannel.InputSettingsProperty.getAudioSelectors()
- Parameters:
audioSelectors
- Information about the specific audio to extract from the input. The parent of this entity is InputSettings.- Returns:
this
-
audioSelectors
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder audioSelectors(List<? extends Object> audioSelectors) Sets the value ofCfnChannel.InputSettingsProperty.getAudioSelectors()
- Parameters:
audioSelectors
- Information about the specific audio to extract from the input. The parent of this entity is InputSettings.- Returns:
this
-
deblockFilter
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder deblockFilter(String deblockFilter) Sets the value ofCfnChannel.InputSettingsProperty.getDeblockFilter()
- Parameters:
deblockFilter
- Enables or disables the deblock filter when filtering.- Returns:
this
-
denoiseFilter
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder denoiseFilter(String denoiseFilter) Sets the value ofCfnChannel.InputSettingsProperty.getDenoiseFilter()
- Parameters:
denoiseFilter
- Enables or disables the denoise filter when filtering.- Returns:
this
-
filterStrength
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder filterStrength(Number filterStrength) Sets the value ofCfnChannel.InputSettingsProperty.getFilterStrength()
- Parameters:
filterStrength
- Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).- Returns:
this
-
inputFilter
Sets the value ofCfnChannel.InputSettingsProperty.getInputFilter()
- Parameters:
inputFilter
- Turns on the filter for this input. MPEG-2 inputs have the deblocking filter enabled by default. 1) auto - filtering is applied depending on input type/quality 2) disabled - no filtering is applied to the input 3) forced - filtering is applied regardless of the input type.- Returns:
this
-
networkInputSettings
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder networkInputSettings(IResolvable networkInputSettings) Sets the value ofCfnChannel.InputSettingsProperty.getNetworkInputSettings()
- Parameters:
networkInputSettings
- Information about how to connect to the upstream system.- Returns:
this
-
networkInputSettings
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder networkInputSettings(CfnChannel.NetworkInputSettingsProperty networkInputSettings) Sets the value ofCfnChannel.InputSettingsProperty.getNetworkInputSettings()
- Parameters:
networkInputSettings
- Information about how to connect to the upstream system.- Returns:
this
-
scte35Pid
Sets the value ofCfnChannel.InputSettingsProperty.getScte35Pid()
- Parameters:
scte35Pid
- the value to be set.- Returns:
this
-
smpte2038DataPreference
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder smpte2038DataPreference(String smpte2038DataPreference) Sets the value ofCfnChannel.InputSettingsProperty.getSmpte2038DataPreference()
- Parameters:
smpte2038DataPreference
- Specifies whether to extract applicable ancillary data from a SMPTE-2038 source in this input. Applicable data types are captions, timecode, AFD, and SCTE-104 messages.- PREFER: Extract from SMPTE-2038 if present in this input, otherwise extract from another source (if any).
- IGNORE: Never extract any ancillary data from SMPTE-2038.
- Returns:
this
-
sourceEndBehavior
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder sourceEndBehavior(String sourceEndBehavior) Sets the value ofCfnChannel.InputSettingsProperty.getSourceEndBehavior()
- Parameters:
sourceEndBehavior
- The loop input if it is a file.- Returns:
this
-
videoSelector
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder videoSelector(IResolvable videoSelector) Sets the value ofCfnChannel.InputSettingsProperty.getVideoSelector()
- Parameters:
videoSelector
- Information about one video to extract from the input.- Returns:
this
-
videoSelector
@Stability(Stable) public CfnChannel.InputSettingsProperty.Builder videoSelector(CfnChannel.VideoSelectorProperty videoSelector) Sets the value ofCfnChannel.InputSettingsProperty.getVideoSelector()
- Parameters:
videoSelector
- Information about one video to extract from the input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.InputSettingsProperty>
- Returns:
- a new instance of
CfnChannel.InputSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-