Interface CreateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,IvsRequest.Builder,SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChannelRequest
public static interface CreateChannelRequest.Builder extends IvsRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateChannelRequest.Builderauthorized(Boolean authorized)Whether the channel is private (enabled for playback authorization).CreateChannelRequest.BuildercontainerFormat(String containerFormat)Indicates which content-packaging format is used (MPEG-TS or fMP4).CreateChannelRequest.BuildercontainerFormat(ContainerFormat containerFormat)Indicates which content-packaging format is used (MPEG-TS or fMP4).CreateChannelRequest.BuilderinsecureIngest(Boolean insecureIngest)Whether the channel allows insecure RTMP and SRT ingest.CreateChannelRequest.BuilderlatencyMode(String latencyMode)Channel latency mode.CreateChannelRequest.BuilderlatencyMode(ChannelLatencyMode latencyMode)Channel latency mode.default CreateChannelRequest.BuildermultitrackInputConfiguration(Consumer<MultitrackInputConfiguration.Builder> multitrackInputConfiguration)Object specifying multitrack input configuration.CreateChannelRequest.BuildermultitrackInputConfiguration(MultitrackInputConfiguration multitrackInputConfiguration)Object specifying multitrack input configuration.CreateChannelRequest.Buildername(String name)Channel name.CreateChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateChannelRequest.BuilderplaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)Playback-restriction-policy ARN.CreateChannelRequest.Builderpreset(String preset)Optional transcode preset for the channel.CreateChannelRequest.Builderpreset(TranscodePreset preset)Optional transcode preset for the channel.CreateChannelRequest.BuilderrecordingConfigurationArn(String recordingConfigurationArn)Recording-configuration ARN.CreateChannelRequest.Buildertags(Map<String,String> tags)Array of 1-50 maps, each of the formstring:string (key:value).CreateChannelRequest.Buildertype(String type)Channel type, which determines the allowable resolution and bitrate.CreateChannelRequest.Buildertype(ChannelType type)Channel type, which determines the allowable resolution and bitrate.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ivs.model.IvsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
authorized
CreateChannelRequest.Builder authorized(Boolean authorized)
Whether 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.
-
containerFormat
CreateChannelRequest.Builder containerFormat(String 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,ContainerFormat
-
containerFormat
CreateChannelRequest.Builder containerFormat(ContainerFormat 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,ContainerFormat
-
insecureIngest
CreateChannelRequest.Builder insecureIngest(Boolean 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.
-
latencyMode
CreateChannelRequest.Builder latencyMode(String latencyMode)
Channel 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. UseNORMALto broadcast and deliver live video up to Full HD. UseLOWfor 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:
ChannelLatencyMode,ChannelLatencyMode
-
latencyMode
CreateChannelRequest.Builder latencyMode(ChannelLatencyMode latencyMode)
Channel 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. UseNORMALto broadcast and deliver live video up to Full HD. UseLOWfor 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:
ChannelLatencyMode,ChannelLatencyMode
-
multitrackInputConfiguration
CreateChannelRequest.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 CreateChannelRequest.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:
multitrackInputConfiguration(MultitrackInputConfiguration)
-
name
CreateChannelRequest.Builder name(String name)
Channel name.
- Parameters:
name- Channel name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
playbackRestrictionPolicyArn
CreateChannelRequest.Builder playbackRestrictionPolicyArn(String 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).
- 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.
-
preset
CreateChannelRequest.Builder preset(String 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:
TranscodePreset,TranscodePreset
-
preset
CreateChannelRequest.Builder preset(TranscodePreset 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:
TranscodePreset,TranscodePreset
-
recordingConfigurationArn
CreateChannelRequest.Builder recordingConfigurationArn(String recordingConfigurationArn)
Recording-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.
-
tags
CreateChannelRequest.Builder tags(Map<String,String> tags)
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- Array of 1-50 maps, each of the formstring: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.
-
type
CreateChannelRequest.Builder type(String 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:
ChannelType,ChannelType
-
type
CreateChannelRequest.Builder type(ChannelType 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:
ChannelType,ChannelType
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-