Interface Channel.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Channel.Builder,,- Channel> - SdkBuilder<Channel.Builder,,- Channel> - SdkPojo
- Enclosing class:
- Channel
- 
Method SummaryModifier and TypeMethodDescriptionChannel ARN.authorized(Boolean authorized) Whether the channel is private (enabled for playback authorization).containerFormat(String containerFormat) Indicates which content-packaging format is used (MPEG-TS or fMP4).containerFormat(ContainerFormat containerFormat) Indicates which content-packaging format is used (MPEG-TS or fMP4).ingestEndpoint(String ingestEndpoint) Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.insecureIngest(Boolean insecureIngest) Whether the channel allows insecure RTMP ingest.latencyMode(String latencyMode) Channel latency mode.latencyMode(ChannelLatencyMode latencyMode) Channel latency mode.default Channel.BuildermultitrackInputConfiguration(Consumer<MultitrackInputConfiguration.Builder> multitrackInputConfiguration) Object specifying multitrack input configuration.multitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration) Object specifying multitrack input configuration.Channel name.playbackRestrictionPolicyArn(String playbackRestrictionPolicyArn) Playback-restriction-policy ARN.playbackUrl(String playbackUrl) Channel playback URL.Optional transcode preset for the channel.preset(TranscodePreset preset) Optional transcode preset for the channel.recordingConfigurationArn(String recordingConfigurationArn) Recording-configuration ARN.default Channel.Buildersrt(Consumer<Srt.Builder> srt) Specifies the endpoint and optional passphrase for streaming with the SRT protocol.Specifies the endpoint and optional passphrase for streaming with the SRT protocol.Tags attached to the resource.Channel type, which determines the allowable resolution and bitrate.type(ChannelType type) Channel type, which determines the allowable resolution and bitrate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
arnChannel ARN. - Parameters:
- arn- Channel ARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
authorizedWhether the channel is private (enabled for playback authorization). Default: false.- Parameters:
- authorized- Whether the channel is private (enabled for playback authorization). Default:- false.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
containerFormatIndicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS.- Parameters:
- containerFormat- Indicates which content-packaging format is used (MPEG-TS or fMP4). If- multitrackInputConfigurationis specified and- enabledis- true, then- containerFormatis required and must be set to- FRAGMENTED_MP4. Otherwise,- containerFormatmay be set to- TSor- FRAGMENTED_MP4. Default:- TS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
containerFormatIndicates which content-packaging format is used (MPEG-TS or fMP4). If multitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS.- Parameters:
- containerFormat- Indicates which content-packaging format is used (MPEG-TS or fMP4). If- multitrackInputConfigurationis specified and- enabledis- true, then- containerFormatis required and must be set to- FRAGMENTED_MP4. Otherwise,- containerFormatmay be set to- TSor- FRAGMENTED_MP4. Default:- TS.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ingestEndpointChannel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software. - Parameters:
- ingestEndpoint- Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
insecureIngestWhether the channel allows insecure RTMP ingest. Default: false.- Parameters:
- insecureIngest- Whether the channel allows insecure RTMP ingest. Default:- false.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
latencyModeChannel latency mode. Use NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW.- Parameters:
- latencyMode- Channel latency mode. Use- NORMALto broadcast and deliver live video up to Full HD. Use- LOWfor near-real-time interaction with viewers. Default:- LOW.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
latencyModeChannel latency mode. Use NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW.- Parameters:
- latencyMode- Channel latency mode. Use- NORMALto broadcast and deliver live video up to Full HD. Use- LOWfor near-real-time interaction with viewers. Default:- LOW.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
multitrackInputConfigurationChannel.Builder multitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration) Object specifying multitrack input configuration. Default: no multitrack input configuration is specified. - Parameters:
- multitrackInputConfiguration- Object specifying multitrack input configuration. Default: no multitrack input configuration is specified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
multitrackInputConfigurationdefault Channel.Builder multitrackInputConfiguration(Consumer<MultitrackInputConfiguration.Builder> multitrackInputConfiguration) Object specifying multitrack input configuration. Default: no multitrack input configuration is specified. This is a convenience method that creates an instance of theMultitrackInputConfiguration.Builderavoiding the need to create one manually viaMultitrackInputConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultitrackInputConfiguration(MultitrackInputConfiguration).- Parameters:
- multitrackInputConfiguration- a consumer that will call methods on- MultitrackInputConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nameChannel name. - Parameters:
- name- Channel name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
playbackRestrictionPolicyArnPlayback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: "" (empty string, no playback restriction policy is applied). - Parameters:
- playbackRestrictionPolicyArn- Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: "" (empty string, no playback restriction policy is applied).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
playbackUrlChannel playback URL. - Parameters:
- playbackUrl- Channel playback URL.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
presetOptional transcode preset for the channel. This is selectable only for ADVANCED_HDandADVANCED_SDchannel types. For those channel types, the defaultpresetisHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string ("").- Parameters:
- preset- Optional transcode preset for the channel. This is selectable only for- ADVANCED_HDand- ADVANCED_SDchannel types. For those channel types, the default- presetis- HIGHER_BANDWIDTH_DELIVERY. For other channel types (- BASICand- STANDARD),- presetis the empty string (- "").
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
presetOptional transcode preset for the channel. This is selectable only for ADVANCED_HDandADVANCED_SDchannel types. For those channel types, the defaultpresetisHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string ("").- Parameters:
- preset- Optional transcode preset for the channel. This is selectable only for- ADVANCED_HDand- ADVANCED_SDchannel types. For those channel types, the default- presetis- HIGHER_BANDWIDTH_DELIVERY. For other channel types (- BASICand- STANDARD),- presetis the empty string (- "").
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
recordingConfigurationArnRecording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled). - Parameters:
- recordingConfigurationArn- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
srtSpecifies the endpoint and optional passphrase for streaming with the SRT protocol. - Parameters:
- srt- Specifies the endpoint and optional passphrase for streaming with the SRT protocol.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
srtSpecifies the endpoint and optional passphrase for streaming with the SRT protocol. This is a convenience method that creates an instance of theSrt.Builderavoiding the need to create one manually viaSrt.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosrt(Srt).- Parameters:
- srt- a consumer that will call methods on- Srt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsTags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.- Parameters:
- tags- Tags attached to the resource. Array of 1-50 maps, each of the form- string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeChannel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.- Parameters:
- type- Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default:- STANDARD. For details, see Channel Types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeChannel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.- Parameters:
- type- Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default:- STANDARD. For details, see Channel Types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-