Class CfnChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelProps>
- Enclosing interface:
CfnChannelProps
@Stability(Stable)
public static final class CfnChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelProps>
A builder for
CfnChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorized(Boolean authorized) Sets the value ofCfnChannelProps.getAuthorized()authorized(IResolvable authorized) Sets the value ofCfnChannelProps.getAuthorized()build()Builds the configured instance.containerFormat(String containerFormat) Sets the value ofCfnChannelProps.getContainerFormat()insecureIngest(Boolean insecureIngest) Sets the value ofCfnChannelProps.getInsecureIngest()insecureIngest(IResolvable insecureIngest) Sets the value ofCfnChannelProps.getInsecureIngest()latencyMode(String latencyMode) Sets the value ofCfnChannelProps.getLatencyMode()multitrackInputConfiguration(IResolvable multitrackInputConfiguration) Sets the value ofCfnChannelProps.getMultitrackInputConfiguration()multitrackInputConfiguration(CfnChannel.MultitrackInputConfigurationProperty multitrackInputConfiguration) Sets the value ofCfnChannelProps.getMultitrackInputConfiguration()Sets the value ofCfnChannelProps.getName()Sets the value ofCfnChannelProps.getPreset()recordingConfigurationArn(String recordingConfigurationArn) Sets the value ofCfnChannelProps.getRecordingConfigurationArn()Sets the value ofCfnChannelProps.getTags()Sets the value ofCfnChannelProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorized
Sets the value ofCfnChannelProps.getAuthorized()- Parameters:
authorized- Whether the channel is authorized.- Returns:
this
-
authorized
Sets the value ofCfnChannelProps.getAuthorized()- Parameters:
authorized- Whether the channel is authorized.- Returns:
this
-
containerFormat
Sets the value ofCfnChannelProps.getContainerFormat()- Parameters:
containerFormat- Indicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfiguration is specified and enabled is true, then containerFormat is required and must be set to FRAGMENTED_MP4. Otherwise, containerFormat may be set to TS or FRAGMENTED_MP4. Default: TS.- Returns:
this
-
insecureIngest
Sets the value ofCfnChannelProps.getInsecureIngest()- Parameters:
insecureIngest- Whether the channel allows insecure ingest.- Returns:
this
-
insecureIngest
Sets the value ofCfnChannelProps.getInsecureIngest()- Parameters:
insecureIngest- Whether the channel allows insecure ingest.- Returns:
this
-
latencyMode
Sets the value ofCfnChannelProps.getLatencyMode()- Parameters:
latencyMode- Channel latency mode.- Returns:
this
-
multitrackInputConfiguration
@Stability(Stable) public CfnChannelProps.Builder multitrackInputConfiguration(IResolvable multitrackInputConfiguration) Sets the value ofCfnChannelProps.getMultitrackInputConfiguration()- Parameters:
multitrackInputConfiguration- Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.- Returns:
this
-
multitrackInputConfiguration
@Stability(Stable) public CfnChannelProps.Builder multitrackInputConfiguration(CfnChannel.MultitrackInputConfigurationProperty multitrackInputConfiguration) Sets the value ofCfnChannelProps.getMultitrackInputConfiguration()- Parameters:
multitrackInputConfiguration- Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.- Returns:
this
-
name
Sets the value ofCfnChannelProps.getName()- Parameters:
name- Channel.- Returns:
this
-
preset
Sets the value ofCfnChannelProps.getPreset()- Parameters:
preset- Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string ("").- Returns:
this
-
recordingConfigurationArn
@Stability(Stable) public CfnChannelProps.Builder recordingConfigurationArn(String recordingConfigurationArn) Sets the value ofCfnChannelProps.getRecordingConfigurationArn()- Parameters:
recordingConfigurationArn- Recording Configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (recording is disabled).- Returns:
this
-
tags
Sets the value ofCfnChannelProps.getTags()- Parameters:
tags- A list of key-value pairs that contain metadata for the asset model.- Returns:
this
-
type
Sets the value ofCfnChannelProps.getType()- Parameters:
type- Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelProps>- Returns:
- a new instance of
CfnChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-