Class CfnChannel.InputAttachmentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.InputAttachmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.InputAttachmentProperty>
- Enclosing interface:
CfnChannel.InputAttachmentProperty
@Stability(Stable)
public static final class CfnChannel.InputAttachmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.InputAttachmentProperty>
A builder for
CfnChannel.InputAttachmentProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautomaticInputFailoverSettings
(IResolvable automaticInputFailoverSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getAutomaticInputFailoverSettings()
automaticInputFailoverSettings
(CfnChannel.AutomaticInputFailoverSettingsProperty automaticInputFailoverSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getAutomaticInputFailoverSettings()
build()
Builds the configured instance.inputAttachmentName
(String inputAttachmentName) Sets the value ofCfnChannel.InputAttachmentProperty.getInputAttachmentName()
Sets the value ofCfnChannel.InputAttachmentProperty.getInputId()
inputSettings
(IResolvable inputSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getInputSettings()
inputSettings
(CfnChannel.InputSettingsProperty inputSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getInputSettings()
logicalInterfaceNames
(List<String> logicalInterfaceNames) Sets the value ofCfnChannel.InputAttachmentProperty.getLogicalInterfaceNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
automaticInputFailoverSettings
@Stability(Stable) public CfnChannel.InputAttachmentProperty.Builder automaticInputFailoverSettings(IResolvable automaticInputFailoverSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getAutomaticInputFailoverSettings()
- Parameters:
automaticInputFailoverSettings
- Settings to implement automatic input failover in this input.- Returns:
this
-
automaticInputFailoverSettings
@Stability(Stable) public CfnChannel.InputAttachmentProperty.Builder automaticInputFailoverSettings(CfnChannel.AutomaticInputFailoverSettingsProperty automaticInputFailoverSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getAutomaticInputFailoverSettings()
- Parameters:
automaticInputFailoverSettings
- Settings to implement automatic input failover in this input.- Returns:
this
-
inputAttachmentName
@Stability(Stable) public CfnChannel.InputAttachmentProperty.Builder inputAttachmentName(String inputAttachmentName) Sets the value ofCfnChannel.InputAttachmentProperty.getInputAttachmentName()
- Parameters:
inputAttachmentName
- A name for the attachment. This is required if you want to use this input in an input switch action.- Returns:
this
-
inputId
Sets the value ofCfnChannel.InputAttachmentProperty.getInputId()
- Parameters:
inputId
- The ID of the input to attach.- Returns:
this
-
inputSettings
@Stability(Stable) public CfnChannel.InputAttachmentProperty.Builder inputSettings(IResolvable inputSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getInputSettings()
- Parameters:
inputSettings
- Information about the content to extract from the input and about the general handling of the content.- Returns:
this
-
inputSettings
@Stability(Stable) public CfnChannel.InputAttachmentProperty.Builder inputSettings(CfnChannel.InputSettingsProperty inputSettings) Sets the value ofCfnChannel.InputAttachmentProperty.getInputSettings()
- Parameters:
inputSettings
- Information about the content to extract from the input and about the general handling of the content.- Returns:
this
-
logicalInterfaceNames
@Stability(Stable) public CfnChannel.InputAttachmentProperty.Builder logicalInterfaceNames(List<String> logicalInterfaceNames) Sets the value ofCfnChannel.InputAttachmentProperty.getLogicalInterfaceNames()
- Parameters:
logicalInterfaceNames
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.InputAttachmentProperty>
- Returns:
- a new instance of
CfnChannel.InputAttachmentProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-