Interface UpdateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateChannelRequest.Builder,,UpdateChannelRequest> IvsRequest.Builder,SdkBuilder<UpdateChannelRequest.Builder,,UpdateChannelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionadConfigurationArn(String adConfigurationArn) ARN of the ad configuration associated with the channel.ARN of the channel to be updated.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).insecureIngest(Boolean insecureIngest) Whether the channel allows insecure RTMP and SRT ingest.latencyMode(String latencyMode) Channel latency mode.latencyMode(ChannelLatencyMode latencyMode) Channel latency mode.default UpdateChannelRequest.BuildermultitrackInputConfiguration(Consumer<MultitrackInputConfiguration.Builder> multitrackInputConfiguration) Object specifying multitrack input configuration.multitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration) Object specifying multitrack input configuration.Channel name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.playbackRestrictionPolicyArn(String playbackRestrictionPolicyArn) Playback-restriction-policy ARN.Optional transcode preset for the channel.preset(TranscodePreset preset) Optional transcode preset for the channel.recordingConfigurationArn(String recordingConfigurationArn) Recording-configuration ARN.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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivs.model.IvsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
ARN of the channel to be updated.
- Parameters:
arn- ARN of the channel to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Channel name.
- Parameters:
name- Channel name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latencyMode
Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers.- Parameters:
latencyMode- Channel latency mode. UseNORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latencyMode
Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers.- Parameters:
latencyMode- Channel latency mode. UseNORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- 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:
-
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.- 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:
-
authorized
Whether the channel is private (enabled for playback authorization).
- Parameters:
authorized- Whether the channel is private (enabled for playback authorization).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingConfigurationArn
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
- Parameters:
recordingConfigurationArn- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insecureIngest
Whether the channel allows insecure RTMP and SRT ingest. Default:
false.- Parameters:
insecureIngest- Whether the channel allows insecure RTMP and SRT ingest. Default:false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preset
Optional 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 forADVANCED_HDandADVANCED_SDchannel types. For those channel types, the defaultpresetisHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string ("").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preset
Optional 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 forADVANCED_HDandADVANCED_SDchannel types. For those channel types, the defaultpresetisHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string ("").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
playbackRestrictionPolicyArn
Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
- Parameters:
playbackRestrictionPolicyArn- Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multitrackInputConfiguration
UpdateChannelRequest.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.
-
multitrackInputConfiguration
default UpdateChannelRequest.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 onMultitrackInputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerFormat
Indicates 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). IfmultitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerFormat
Indicates 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). IfmultitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
adConfigurationArn
ARN of the ad configuration associated with the channel.
- Parameters:
adConfigurationArn- ARN of the ad configuration associated with the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-