Class CfnChannel.AudioSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AudioSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AudioSelectorProperty>
- Enclosing interface:
CfnChannel.AudioSelectorProperty
@Stability(Stable)
public static final class CfnChannel.AudioSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AudioSelectorProperty>
A builder for
CfnChannel.AudioSelectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannel.AudioSelectorProperty.getName()selectorSettings(IResolvable selectorSettings) Sets the value ofCfnChannel.AudioSelectorProperty.getSelectorSettings()selectorSettings(CfnChannel.AudioSelectorSettingsProperty selectorSettings) Sets the value ofCfnChannel.AudioSelectorProperty.getSelectorSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnChannel.AudioSelectorProperty.getName()- Parameters:
name- A name for this AudioSelector.- Returns:
this
-
selectorSettings
@Stability(Stable) public CfnChannel.AudioSelectorProperty.Builder selectorSettings(IResolvable selectorSettings) Sets the value ofCfnChannel.AudioSelectorProperty.getSelectorSettings()- Parameters:
selectorSettings- Information about the specific audio to extract from the input.- Returns:
this
-
selectorSettings
@Stability(Stable) public CfnChannel.AudioSelectorProperty.Builder selectorSettings(CfnChannel.AudioSelectorSettingsProperty selectorSettings) Sets the value ofCfnChannel.AudioSelectorProperty.getSelectorSettings()- Parameters:
selectorSettings- Information about the specific audio to extract from the input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.AudioSelectorProperty>- Returns:
- a new instance of
CfnChannel.AudioSelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-