Class InputAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.InputAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InputAttachment>
- Enclosing interface:
InputAttachment
@Stability(Experimental)
public static final class InputAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<InputAttachment>
A builder for
InputAttachment-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudioSelectors(List<? extends AudioSelector> audioSelectors) Sets the value ofInputAttachment.getAudioSelectors()automaticInputFailover(AutomaticInputFailover automaticInputFailover) Sets the value ofInputAttachment.getAutomaticInputFailover()build()Builds the configured instance.captionSelectors(List<? extends CaptionSelector> captionSelectors) Sets the value ofInputAttachment.getCaptionSelectors()deblockFilter(Boolean deblockFilter) Sets the value ofInputAttachment.getDeblockFilter()denoiseFilter(Boolean denoiseFilter) Sets the value ofInputAttachment.getDenoiseFilter()filterStrength(Number filterStrength) Sets the value ofInputAttachment.getFilterStrength()Sets the value ofInputAttachment.getInput()inputAttachmentName(String inputAttachmentName) Sets the value ofInputAttachment.getInputAttachmentName()inputFilter(InputFilter inputFilter) Sets the value ofInputAttachment.getInputFilter()logicalInterfaceNames(List<String> logicalInterfaceNames) Sets the value ofInputAttachment.getLogicalInterfaceNames()networkInputSettings(NetworkInputSettings networkInputSettings) Sets the value ofInputAttachment.getNetworkInputSettings()Sets the value ofInputAttachment.getScte35Pid()smpte2038DataPreference(Smpte2038DataPreference smpte2038DataPreference) Sets the value ofInputAttachment.getSmpte2038DataPreference()sourceEndBehavior(SourceEndBehavior sourceEndBehavior) Sets the value ofInputAttachment.getSourceEndBehavior()videoSelector(VideoSelectorSettings videoSelector) Sets the value ofInputAttachment.getVideoSelector()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
input
Sets the value ofInputAttachment.getInput()- Parameters:
input- The input to attach. This parameter is required. [disable-awslint:prefer-ref-interface]- Returns:
this
-
audioSelectors
@Stability(Experimental) public InputAttachment.Builder audioSelectors(List<? extends AudioSelector> audioSelectors) Sets the value ofInputAttachment.getAudioSelectors()- Parameters:
audioSelectors- Audio selectors to extract specific audio tracks from the input.- Returns:
this
-
automaticInputFailover
@Stability(Experimental) public InputAttachment.Builder automaticInputFailover(AutomaticInputFailover automaticInputFailover) Sets the value ofInputAttachment.getAutomaticInputFailover()- Parameters:
automaticInputFailover- Automatic input failover to a secondary input. When the active input meets any of the failover conditions, MediaLive switches to the secondary input without restarting the channel. This is input-source redundancy, distinct from the pipeline redundancy ofChannelClass.STANDARD.- Returns:
this
-
captionSelectors
@Stability(Experimental) public InputAttachment.Builder captionSelectors(List<? extends CaptionSelector> captionSelectors) Sets the value ofInputAttachment.getCaptionSelectors()- Parameters:
captionSelectors- Caption selectors to extract specific caption tracks from the input.- Returns:
this
-
deblockFilter
Sets the value ofInputAttachment.getDeblockFilter()- Parameters:
deblockFilter- Whether to enable the deblock filter.- Returns:
this
-
denoiseFilter
Sets the value ofInputAttachment.getDenoiseFilter()- Parameters:
denoiseFilter- Whether to enable the denoise filter.- Returns:
this
-
filterStrength
Sets the value ofInputAttachment.getFilterStrength()- Parameters:
filterStrength- The filter strength (1-5). 1 is minimal, 5 is strongest.- Returns:
this
-
inputAttachmentName
@Stability(Experimental) public InputAttachment.Builder inputAttachmentName(String inputAttachmentName) Sets the value ofInputAttachment.getInputAttachmentName()- Parameters:
inputAttachmentName- A name for this input attachment, used to reference it in schedule actions.- Returns:
this
-
inputFilter
Sets the value ofInputAttachment.getInputFilter()- Parameters:
inputFilter- The input filter mode.- Returns:
this
-
logicalInterfaceNames
@Stability(Experimental) public InputAttachment.Builder logicalInterfaceNames(List<String> logicalInterfaceNames) Sets the value ofInputAttachment.getLogicalInterfaceNames()- Parameters:
logicalInterfaceNames- The logical interface names (MediaLive Anywhere) this input is wired to. Each name maps the input to a network interface on the channel's nodes.- Returns:
this
-
networkInputSettings
@Stability(Experimental) public InputAttachment.Builder networkInputSettings(NetworkInputSettings networkInputSettings) Sets the value ofInputAttachment.getNetworkInputSettings()- Parameters:
networkInputSettings- Network input settings (for URL pull inputs — HLS buffer, server validation).- Returns:
this
-
scte35Pid
Sets the value ofInputAttachment.getScte35Pid()- Parameters:
scte35Pid- The SCTE-35 PID override for this input.- Returns:
this
-
smpte2038DataPreference
@Stability(Experimental) public InputAttachment.Builder smpte2038DataPreference(Smpte2038DataPreference smpte2038DataPreference) Sets the value ofInputAttachment.getSmpte2038DataPreference()- Parameters:
smpte2038DataPreference- SMPTE-2038 ancillary data preference.- Returns:
this
-
sourceEndBehavior
@Stability(Experimental) public InputAttachment.Builder sourceEndBehavior(SourceEndBehavior sourceEndBehavior) Sets the value ofInputAttachment.getSourceEndBehavior()- Parameters:
sourceEndBehavior- The source end behavior for file-based inputs.- Returns:
this
-
videoSelector
@Stability(Experimental) public InputAttachment.Builder videoSelector(VideoSelectorSettings videoSelector) Sets the value ofInputAttachment.getVideoSelector()- Parameters:
videoSelector- Video selector settings for the input (color space, PID selection).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InputAttachment>- Returns:
- a new instance of
InputAttachment - Throws:
NullPointerException- if any required attribute was not provided
-