Class ChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.alpha.ChannelProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<ChannelProps>
- Enclosing interface:
- ChannelProps
@Stability(Experimental)
public static final class ChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelProps>
A builder for 
ChannelProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionauthorized(Boolean authorized) Sets the value ofChannelProps.getAuthorized()build()Builds the configured instance.channelName(String channelName) Sets the value ofChannelProps.getChannelName()containerFormat(ContainerFormat containerFormat) Sets the value ofChannelProps.getContainerFormat()insecureIngest(Boolean insecureIngest) Sets the value ofChannelProps.getInsecureIngest()latencyMode(LatencyMode latencyMode) Sets the value ofChannelProps.getLatencyMode()multitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration) Sets the value ofChannelProps.getMultitrackInputConfiguration()Sets the value ofChannelProps.getPreset()recordingConfiguration(IRecordingConfiguration recordingConfiguration) Sets the value ofChannelProps.getRecordingConfiguration()type(ChannelType type) Sets the value ofChannelProps.getType()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
authorizedSets the value ofChannelProps.getAuthorized()- Parameters:
- authorized- Whether the channel is authorized. If you wish to make an authorized channel, you will need to ensure that a PlaybackKeyPair has been uploaded to your account as this is used to validate the signed JWT that is required for authorization
- Returns:
- this
 
- 
channelNameSets the value ofChannelProps.getChannelName()- Parameters:
- channelName- A name for the channel.
- Returns:
- this
 
- 
containerFormat@Stability(Experimental) public ChannelProps.Builder containerFormat(ContainerFormat containerFormat) Sets the value ofChannelProps.getContainerFormat()- Parameters:
- containerFormat- Indicates which content-packaging format is used (MPEG-TS or fMP4). If- multitrackInputConfigurationis specified, only fMP4 can be used. Otherwise,- containerFormatmay be set to- ContainerFormat.TSor- ContainerFormat.FRAGMENTED_MP4.
- Returns:
- this
 
- 
insecureIngestSets the value ofChannelProps.getInsecureIngest()- Parameters:
- insecureIngest- Whether the channel allows insecure RTMP ingest.
- Returns:
- this
 
- 
latencyModeSets the value ofChannelProps.getLatencyMode()- Parameters:
- latencyMode- Channel latency mode.
- Returns:
- this
 
- 
multitrackInputConfiguration@Stability(Experimental) public ChannelProps.Builder multitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration) Sets the value ofChannelProps.getMultitrackInputConfiguration()- Parameters:
- multitrackInputConfiguration- Object specifying multitrack input configuration. You must specify- multitrackInputConfigurationif you want to use MultiTrack Video.- multitrackInputConfigurationis only supported for- ChannelType.STANDARD.
- Returns:
- this
 
- 
presetSets the value ofChannelProps.getPreset()- Parameters:
- preset- An optional transcode preset for the channel. Can be used for ADVANCED_HD and ADVANCED_SD channel types. When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided.
- Returns:
- this
 
- 
recordingConfiguration@Stability(Experimental) public ChannelProps.Builder recordingConfiguration(IRecordingConfiguration recordingConfiguration) Sets the value ofChannelProps.getRecordingConfiguration()- Parameters:
- recordingConfiguration- A recording configuration for the channel.
- Returns:
- this
 
- 
typeSets the value ofChannelProps.getType()- Parameters:
- type- The channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream will disconnect immediately
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<ChannelProps>
- Returns:
- a new instance of ChannelProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-