Class Channel
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Channel.Builder,Channel>
Object specifying a channel.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()Channel ARN.final BooleanWhether the channel is private (enabled for playback authorization).static Channel.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final StringChannel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.final BooleanWhether the channel allows insecure RTMP ingest.final ChannelLatencyModeChannel latency mode.final StringChannel latency mode.final Stringname()Channel name.final StringPlayback-restriction-policy ARN.final StringChannel playback URL.final TranscodePresetpreset()Optional transcode preset for the channel.final StringOptional transcode preset for the channel.final StringRecording-configuration ARN.static Class<? extends Channel.Builder> final Srtsrt()Specifies the endpoint and optional passphrase for streaming with the SRT protocol.tags()Tags attached to the resource.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final ChannelTypetype()Channel type, which determines the allowable resolution and bitrate.final StringChannel type, which determines the allowable resolution and bitrate.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
-
authorized
Whether the channel is private (enabled for playback authorization). Default:
false.- Returns:
- Whether the channel is private (enabled for playback authorization). Default:
false.
-
ingestEndpoint
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
- Returns:
- Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
-
insecureIngest
Whether the channel allows insecure RTMP ingest. Default:
false.- Returns:
- Whether the channel allows insecure RTMP ingest. Default:
false.
-
latencyMode
Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW.If the service returns an enum value that is not available in the current SDK version,
latencyModewill returnChannelLatencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatencyModeAsString().- Returns:
- Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW. - See Also:
-
latencyModeAsString
Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW.If the service returns an enum value that is not available in the current SDK version,
latencyModewill returnChannelLatencyMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatencyModeAsString().- Returns:
- Channel latency mode. Use
NORMALto broadcast and deliver live video up to Full HD. UseLOWfor near-real-time interaction with viewers. Default:LOW. - See Also:
-
name
-
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:
- 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).
-
playbackUrl
-
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 ("").If the service returns an enum value that is not available in the current SDK version,
presetwill returnTranscodePreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetAsString().- Returns:
- 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 (""). - See Also:
-
presetAsString
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 ("").If the service returns an enum value that is not available in the current SDK version,
presetwill returnTranscodePreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompresetAsString().- Returns:
- 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 (""). - See Also:
-
recordingConfigurationArn
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
- Returns:
- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
-
srt
Specifies the endpoint and optional passphrase for streaming with the SRT protocol.
- Returns:
- Specifies the endpoint and optional passphrase for streaming with the SRT protocol.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()method.- Returns:
- 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.
-
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.If the service returns an enum value that is not available in the current SDK version,
typewill returnChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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. - See Also:
-
typeAsString
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.If the service returns an enum value that is not available in the current SDK version,
typewill returnChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- 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. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Channel.Builder,Channel> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-