@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
Object specifying a channel.
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Channel |
clearTagsEntries()
Removes all the entries added into Tags.
|
Channel |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Channel ARN.
|
Boolean |
getAuthorized()
Whether the channel is authorized.
|
String |
getIngestEndpoint()
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
|
String |
getLatencyMode()
Channel latency mode.
|
String |
getName()
Channel name.
|
String |
getPlaybackUrl()
Channel playback URL.
|
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 authorized.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Channel ARN.
|
void |
setAuthorized(Boolean authorized)
Whether the channel is authorized.
|
void |
setIngestEndpoint(String ingestEndpoint)
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
|
void |
setLatencyMode(String latencyMode)
Channel latency mode.
|
void |
setName(String name)
Channel name.
|
void |
setPlaybackUrl(String playbackUrl)
Channel playback URL.
|
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.
|
Channel |
withArn(String arn)
Channel ARN.
|
Channel |
withAuthorized(Boolean authorized)
Whether the channel is authorized.
|
Channel |
withIngestEndpoint(String ingestEndpoint)
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
|
Channel |
withLatencyMode(ChannelLatencyMode latencyMode)
Channel latency mode.
|
Channel |
withLatencyMode(String latencyMode)
Channel latency mode.
|
Channel |
withName(String name)
Channel name.
|
Channel |
withPlaybackUrl(String playbackUrl)
Channel playback URL.
|
Channel |
withTags(Map<String,String> tags)
Array of 1-50 maps, each of the form
string:string (key:value) . |
Channel |
withType(ChannelType type)
Channel type, which determines the allowable resolution and bitrate.
|
Channel |
withType(String type)
Channel type, which determines the allowable resolution and bitrate.
|
public void setArn(String arn)
Channel ARN.
arn
- Channel ARN.public String getArn()
Channel ARN.
public Channel withArn(String arn)
Channel ARN.
arn
- Channel ARN.public void setName(String name)
Channel name.
name
- Channel name.public String getName()
Channel name.
public Channel withName(String name)
Channel name.
name
- Channel name.public void setLatencyMode(String latencyMode)
Channel latency mode. Default: LOW
.
latencyMode
- Channel latency mode. Default: LOW
.ChannelLatencyMode
public String getLatencyMode()
Channel latency mode. Default: LOW
.
LOW
.ChannelLatencyMode
public Channel withLatencyMode(String latencyMode)
Channel latency mode. Default: LOW
.
latencyMode
- Channel latency mode. Default: LOW
.ChannelLatencyMode
public Channel withLatencyMode(ChannelLatencyMode latencyMode)
Channel latency mode. Default: LOW
.
latencyMode
- Channel latency mode. Default: LOW
.ChannelLatencyMode
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. 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.
Default: STANDARD
.
type
- Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable
resolution or bitrate, the stream probably will disconnect immediately. 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.
Default: STANDARD
.
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. 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.
Default: STANDARD
.
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.
Default: STANDARD
.
ChannelType
public Channel 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. 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.
Default: STANDARD
.
type
- Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable
resolution or bitrate, the stream probably will disconnect immediately. 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.
Default: STANDARD
.
ChannelType
public Channel 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. 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.
Default: STANDARD
.
type
- Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable
resolution or bitrate, the stream probably will disconnect immediately. 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.
Default: STANDARD
.
ChannelType
public void setIngestEndpoint(String ingestEndpoint)
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
ingestEndpoint
- Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming
software.public String getIngestEndpoint()
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
public Channel withIngestEndpoint(String ingestEndpoint)
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
ingestEndpoint
- Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming
software.public void setPlaybackUrl(String playbackUrl)
Channel playback URL.
playbackUrl
- Channel playback URL.public String getPlaybackUrl()
Channel playback URL.
public Channel withPlaybackUrl(String playbackUrl)
Channel playback URL.
playbackUrl
- Channel playback URL.public void setAuthorized(Boolean authorized)
Whether the channel is authorized.
authorized
- Whether the channel is authorized.public Boolean getAuthorized()
Whether the channel is authorized.
public Channel withAuthorized(Boolean authorized)
Whether the channel is authorized.
authorized
- Whether the channel is authorized.public Boolean isAuthorized()
Whether the channel is authorized.
public Map<String,String> getTags()
Array of 1-50 maps, each of the form string:string (key:value)
.
string:string (key:value)
.public void setTags(Map<String,String> tags)
Array of 1-50 maps, each of the form string:string (key:value)
.
tags
- Array of 1-50 maps, each of the form string:string (key:value)
.public Channel withTags(Map<String,String> tags)
Array of 1-50 maps, each of the form string:string (key:value)
.
tags
- Array of 1-50 maps, each of the form string:string (key:value)
.public Channel clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.