Interface Channel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Channel.Builder,Channel>,SdkBuilder<Channel.Builder,Channel>,SdkPojo
- Enclosing class:
- Channel
public static interface Channel.Builder extends SdkPojo, CopyableBuilder<Channel.Builder,Channel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Channel.Builderarn(String arn)Channel ARN.Channel.Builderauthorized(Boolean authorized)Whether the channel is private (enabled for playback authorization).Channel.BuilderingestEndpoint(String ingestEndpoint)Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.Channel.BuilderinsecureIngest(Boolean insecureIngest)Whether the channel allows insecure RTMP ingest.Channel.BuilderlatencyMode(String latencyMode)Channel latency mode.Channel.BuilderlatencyMode(ChannelLatencyMode latencyMode)Channel latency mode.Channel.Buildername(String name)Channel name.Channel.BuilderplaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)Playback-restriction-policy ARN.Channel.BuilderplaybackUrl(String playbackUrl)Channel playback URL.Channel.Builderpreset(String preset)Optional transcode preset for the channel.Channel.Builderpreset(TranscodePreset preset)Optional transcode preset for the channel.Channel.BuilderrecordingConfigurationArn(String recordingConfigurationArn)Recording-configuration ARN.Channel.Buildertags(Map<String,String> tags)Tags attached to the resource.Channel.Buildertype(String type)Channel type, which determines the allowable resolution and bitrate.Channel.Buildertype(ChannelType type)Channel type, which determines the allowable resolution and bitrate.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
Channel.Builder arn(String arn)
Channel ARN.
- Parameters:
arn- Channel ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorized
Channel.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.
-
ingestEndpoint
Channel.Builder ingestEndpoint(String ingestEndpoint)
Channel 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.
-
insecureIngest
Channel.Builder insecureIngest(Boolean insecureIngest)
Whether 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.
-
latencyMode
Channel.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. (Note: In the Amazon IVS console,LOWandNORMALcorrespond to Ultra-low and Standard, respectively.)- Parameters:
latencyMode- Channel latency mode. UseNORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW. (Note: In the Amazon IVS console,LOWandNORMALcorrespond to Ultra-low and Standard, respectively.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelLatencyMode,ChannelLatencyMode
-
latencyMode
Channel.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. (Note: In the Amazon IVS console,LOWandNORMALcorrespond to Ultra-low and Standard, respectively.)- Parameters:
latencyMode- Channel latency mode. UseNORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW. (Note: In the Amazon IVS console,LOWandNORMALcorrespond to Ultra-low and Standard, respectively.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelLatencyMode,ChannelLatencyMode
-
name
Channel.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
Channel.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.
-
playbackUrl
Channel.Builder playbackUrl(String playbackUrl)
Channel playback URL.
- Parameters:
playbackUrl- Channel playback URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preset
Channel.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
Channel.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
Channel.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
Channel.Builder tags(Map<String,String> tags)
Tags attached to the resource. Array of 1-50 maps, each of the form
string:string (key:value). See Tagging Amazon Web Services Resources for more information, 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 formstring:string (key:value). See Tagging Amazon Web Services Resources for more information, 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
Channel.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
Channel.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
-
-