@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateChannelRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateChannelRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAuthorized()
Whether the channel is private (enabled for playback authorization).
|
String |
getLatencyMode()
Channel latency mode.
|
String |
getName()
Channel name.
|
String |
getRecordingConfigurationArn()
Recording-configuration ARN.
|
Map<String,String> |
getTags()
Array of 1-50 maps, each of the form
string:string (key:value) . |
String |
getType()
Channel type, which determines the allowable resolution and bitrate.
|
int |
hashCode() |
Boolean |
isAuthorized()
Whether the channel is private (enabled for playback authorization).
|
void |
setAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization).
|
void |
setLatencyMode(String latencyMode)
Channel latency mode.
|
void |
setName(String name)
Channel name.
|
void |
setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN.
|
void |
setTags(Map<String,String> tags)
Array of 1-50 maps, each of the form
string:string (key:value) . |
void |
setType(String type)
Channel type, which determines the allowable resolution and bitrate.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelRequest |
withAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization).
|
CreateChannelRequest |
withLatencyMode(ChannelLatencyMode latencyMode)
Channel latency mode.
|
CreateChannelRequest |
withLatencyMode(String latencyMode)
Channel latency mode.
|
CreateChannelRequest |
withName(String name)
Channel name.
|
CreateChannelRequest |
withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN.
|
CreateChannelRequest |
withTags(Map<String,String> tags)
Array of 1-50 maps, each of the form
string:string (key:value) . |
CreateChannelRequest |
withType(ChannelType type)
Channel type, which determines the allowable resolution and bitrate.
|
CreateChannelRequest |
withType(String type)
Channel type, which determines the allowable resolution and bitrate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization). Default: false
.
authorized
- Whether the channel is private (enabled for playback authorization). Default: false
.public Boolean getAuthorized()
Whether the channel is private (enabled for playback authorization). Default: false
.
false
.public CreateChannelRequest withAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization). Default: false
.
authorized
- Whether the channel is private (enabled for playback authorization). Default: false
.public Boolean isAuthorized()
Whether the channel is private (enabled for playback authorization). Default: false
.
false
.public void setLatencyMode(String 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
.
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
.ChannelLatencyMode
public String getLatencyMode()
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
.
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
.ChannelLatencyMode
public CreateChannelRequest withLatencyMode(String 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
.
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
.ChannelLatencyMode
public CreateChannelRequest withLatencyMode(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
.
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
.ChannelLatencyMode
public void setName(String name)
Channel name.
name
- Channel name.public String getName()
Channel name.
public CreateChannelRequest withName(String name)
Channel name.
name
- Channel name.public void setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. Default: "" (empty string, recording is disabled).
recordingConfigurationArn
- Recording-configuration ARN. Default: "" (empty string, recording is disabled).public String getRecordingConfigurationArn()
Recording-configuration ARN. Default: "" (empty string, recording is disabled).
public CreateChannelRequest withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. Default: "" (empty string, recording is disabled).
recordingConfigurationArn
- Recording-configuration ARN. Default: "" (empty string, recording is disabled).public Map<String,String> getTags()
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.
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 void setTags(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.
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.public CreateChannelRequest withTags(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.
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.public CreateChannelRequest addTagsEntry(String key, String value)
public CreateChannelRequest clearTagsEntries()
public void setType(String 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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding allows
higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to
8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through. This is
the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5
Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding
allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and
bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio
is passed through. This is the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up
to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
ChannelType
public String getType()
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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding allows
higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to
8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through. This is
the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5
Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
STANDARD
. Valid values:
STANDARD
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding
allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and
bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio
is passed through. This is the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be
up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
ChannelType
public CreateChannelRequest withType(String 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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding allows
higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to
8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through. This is
the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5
Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding
allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and
bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio
is passed through. This is the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up
to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
ChannelType
public CreateChannelRequest withType(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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding allows
higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to
8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through. This is
the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5
Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
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
: Video is transcoded: multiple qualities are generated from the original input, to
automatically give viewers the best experience for their devices and network conditions. Transcoding
allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and
bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio
is passed through. This is the default.
BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s
video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up
to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
ChannelType
public String toString()
toString
in class Object
Object.toString()
public CreateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()