@Generated(value="software.amazon.awssdk:codegen") public final class CreateChannelRequest extends IvsRequest implements ToCopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateChannelRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
authorized()
Whether the channel is private (enabled for playback authorization).
|
static CreateChannelRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Boolean |
insecureIngest()
Whether the channel allows insecure RTMP ingest.
|
ChannelLatencyMode |
latencyMode()
Channel latency mode.
|
String |
latencyModeAsString()
Channel latency mode.
|
String |
name()
Channel name.
|
TranscodePreset |
preset()
Optional transcode preset for the channel.
|
String |
presetAsString()
Optional transcode preset for the channel.
|
String |
recordingConfigurationArn()
Recording-configuration ARN.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateChannelRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Array of 1-50 maps, each of the form
string:string (key:value). |
CreateChannelRequest.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.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean authorized()
Whether the channel is private (enabled for playback authorization). Default: false.
false.public final Boolean insecureIngest()
Whether the channel allows insecure RTMP ingest. Default: false.
false.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. (Note: In the Amazon IVS console, LOW
and NORMAL correspond to Ultra-low and Standard, respectively.) Default: LOW.
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. (Note: In the Amazon IVS console,
LOW and NORMAL correspond to Ultra-low and Standard, respectively.) Default:
LOW.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. (Note: In the Amazon IVS console, LOW
and NORMAL correspond to Ultra-low and Standard, respectively.) Default: LOW.
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. (Note: In the Amazon IVS console,
LOW and NORMAL correspond to Ultra-low and Standard, respectively.) Default:
LOW.ChannelLatencyModepublic final String name()
Channel name.
public final TranscodePreset preset()
Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and
ADVANCED_SD channel types. For those channel types, the default preset is
HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD),
preset is the empty string ("").
If the service returns an enum value that is not available in the current SDK version, preset will
return TranscodePreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
presetAsString().
ADVANCED_HD and
ADVANCED_SD channel types. For those channel types, the default preset is
HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and
STANDARD), preset is the empty string ("").TranscodePresetpublic final String presetAsString()
Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and
ADVANCED_SD channel types. For those channel types, the default preset is
HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD),
preset is the empty string ("").
If the service returns an enum value that is not available in the current SDK version, preset will
return TranscodePreset.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
presetAsString().
ADVANCED_HD and
ADVANCED_SD channel types. For those channel types, the default preset is
HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and
STANDARD), preset is the empty string ("").TranscodePresetpublic final String recordingConfigurationArn()
Recording-configuration ARN. Default: "" (empty string, recording is disabled).
public final boolean hasTags()
isEmpty() 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.public final Map<String,String> tags()
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.
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.
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.public final 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.
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. For details, see Channel
Types.ChannelTypepublic final String 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, type will return
ChannelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
STANDARD. For details, see Channel
Types.ChannelTypepublic CreateChannelRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>toBuilder in class IvsRequestpublic static CreateChannelRequest.Builder builder()
public static Class<? extends CreateChannelRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.