@Generated(value="software.amazon.awssdk:codegen") public final class Channel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Channel.Builder,Channel>
Object specifying a channel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Channel.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
Channel ARN.
|
Boolean |
authorized()
Whether the channel is private (enabled for playback authorization).
|
static Channel.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
ingestEndpoint()
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
|
ChannelLatencyMode |
latencyMode()
Channel latency mode.
|
String |
latencyModeAsString()
Channel latency mode.
|
String |
name()
Channel name.
|
String |
playbackUrl()
Channel playback URL.
|
String |
recordingConfigurationArn()
Recording-configuration ARN.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Channel.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Array of 1-50 maps, each of the form
string:string (key:value). |
Channel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ChannelType |
type()
Channel type, which determines the allowable resolution and bitrate.
|
String |
typeAsString()
Channel type, which determines the allowable resolution and bitrate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
Channel ARN.
public final String name()
Channel name.
public final ChannelLatencyMode latencyMode()
Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use
LOW for near-real-time interaction with viewers. Default: LOW. (Note: In the Amazon IVS
console, LOW and NORMAL correspond to Ultra-low and Standard, respectively.)
If the service returns an enum value that is not available in the current SDK version, latencyMode will
return ChannelLatencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
latencyModeAsString().
NORMAL to broadcast and deliver live video up to Full HD. Use
LOW for near-real-time interaction with viewers. Default: LOW. (Note: In the
Amazon IVS console, LOW and NORMAL correspond to Ultra-low and Standard,
respectively.)ChannelLatencyModepublic final String latencyModeAsString()
Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use
LOW for near-real-time interaction with viewers. Default: LOW. (Note: In the Amazon IVS
console, LOW and NORMAL correspond to Ultra-low and Standard, respectively.)
If the service returns an enum value that is not available in the current SDK version, latencyMode will
return ChannelLatencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
latencyModeAsString().
NORMAL to broadcast and deliver live video up to Full HD. Use
LOW for near-real-time interaction with viewers. Default: LOW. (Note: In the
Amazon IVS console, LOW and NORMAL correspond to Ultra-low and Standard,
respectively.)ChannelLatencyModepublic final ChannelType type()
Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or
bitrate, the stream probably will disconnect immediately. Default: STANDARD. Valid values:
STANDARD: Multiple qualities are generated from the original input, to automatically give viewers
the best experience for their devices and network conditions. Vertical resolution can be up to 1080 and bitrate
can be up to 8.5 Mbps.
BASIC: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is
limited to the original input. Vertical resolution can be up to 480 and bitrate can be up to 1.5 Mbps.
If the service returns an enum value that is not available in the current SDK version, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
STANDARD. Valid values:
STANDARD: Multiple qualities are generated from the original input, to automatically give
viewers the best experience for their devices and network conditions. Vertical resolution can be up to
1080 and bitrate can be up to 8.5 Mbps.
BASIC: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice
is limited to the original input. Vertical resolution can be up to 480 and bitrate can be up to 1.5 Mbps.
ChannelTypepublic final String typeAsString()
Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or
bitrate, the stream probably will disconnect immediately. Default: STANDARD. Valid values:
STANDARD: Multiple qualities are generated from the original input, to automatically give viewers
the best experience for their devices and network conditions. Vertical resolution can be up to 1080 and bitrate
can be up to 8.5 Mbps.
BASIC: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is
limited to the original input. Vertical resolution can be up to 480 and bitrate can be up to 1.5 Mbps.
If the service returns an enum value that is not available in the current SDK version, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
STANDARD. Valid values:
STANDARD: Multiple qualities are generated from the original input, to automatically give
viewers the best experience for their devices and network conditions. Vertical resolution can be up to
1080 and bitrate can be up to 8.5 Mbps.
BASIC: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice
is limited to the original input. Vertical resolution can be up to 480 and bitrate can be up to 1.5 Mbps.
ChannelTypepublic final String recordingConfigurationArn()
Recording-configuration ARN. A value other than an empty string indicates that recording is enabled. Default: "" (empty string, recording is disabled).
public final String ingestEndpoint()
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
public final String playbackUrl()
Channel playback URL.
public final Boolean authorized()
Whether the channel is private (enabled for playback authorization). Default: false.
false.public final boolean hasTags()
public final Map<String,String> tags()
Array of 1-50 maps, each of the form string:string (key:value).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
string:string (key:value).public Channel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Channel.Builder,Channel>public static Channel.Builder builder()
public static Class<? extends Channel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.