@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a channel.
Constructor and Description |
---|
ChannelSummary() |
Modifier and Type | Method and Description |
---|---|
ChannelSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ChannelSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ChannelSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Channel ARN.
|
Boolean |
getAuthorized()
Whether the channel is private (enabled for playback authorization).
|
Boolean |
getInsecureIngest()
Whether the channel allows insecure RTMP ingest.
|
String |
getLatencyMode()
Channel latency mode.
|
String |
getName()
Channel name.
|
String |
getPlaybackRestrictionPolicyArn()
Playback-restriction-policy ARN.
|
String |
getPreset()
Optional transcode preset for the channel.
|
String |
getRecordingConfigurationArn()
Recording-configuration ARN.
|
Map<String,String> |
getTags()
Tags attached to the resource.
|
String |
getType()
Channel type, which determines the allowable resolution and bitrate.
|
int |
hashCode() |
Boolean |
isAuthorized()
Whether the channel is private (enabled for playback authorization).
|
Boolean |
isInsecureIngest()
Whether the channel allows insecure RTMP ingest.
|
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 private (enabled for playback authorization).
|
void |
setInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP ingest.
|
void |
setLatencyMode(String latencyMode)
Channel latency mode.
|
void |
setName(String name)
Channel name.
|
void |
setPlaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)
Playback-restriction-policy ARN.
|
void |
setPreset(String preset)
Optional transcode preset for the channel.
|
void |
setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN.
|
void |
setTags(Map<String,String> tags)
Tags attached to the resource.
|
void |
setType(String type)
Channel type, which determines the allowable resolution and bitrate.
|
String |
toString()
Returns a string representation of this object.
|
ChannelSummary |
withArn(String arn)
Channel ARN.
|
ChannelSummary |
withAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization).
|
ChannelSummary |
withInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP ingest.
|
ChannelSummary |
withLatencyMode(ChannelLatencyMode latencyMode)
Channel latency mode.
|
ChannelSummary |
withLatencyMode(String latencyMode)
Channel latency mode.
|
ChannelSummary |
withName(String name)
Channel name.
|
ChannelSummary |
withPlaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)
Playback-restriction-policy ARN.
|
ChannelSummary |
withPreset(String preset)
Optional transcode preset for the channel.
|
ChannelSummary |
withPreset(TranscodePreset preset)
Optional transcode preset for the channel.
|
ChannelSummary |
withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN.
|
ChannelSummary |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
ChannelSummary |
withType(ChannelType type)
Channel type, which determines the allowable resolution and bitrate.
|
ChannelSummary |
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 ChannelSummary withArn(String arn)
Channel ARN.
arn
- Channel ARN.public void setName(String name)
Channel name.
name
- Channel name.public String getName()
Channel name.
public ChannelSummary withName(String name)
Channel name.
name
- Channel name.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. 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. 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. Default: LOW
.
NORMAL
to broadcast and deliver live video up to Full HD. Use
LOW
for near-real-time interaction with viewers. Default: LOW
.ChannelLatencyMode
public ChannelSummary 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. 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. Default: LOW
.ChannelLatencyMode
public ChannelSummary 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. 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. Default: LOW
.ChannelLatencyMode
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 ChannelSummary 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 setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
recordingConfigurationArn
- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default:
"" (empty string, recording is disabled).public String getRecordingConfigurationArn()
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
public ChannelSummary withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
recordingConfigurationArn
- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default:
"" (empty string, recording is disabled).public Map<String,String> getTags()
Tags attached to the resource. 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)
Tags attached to the resource. 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
- Tags attached to the resource. 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 ChannelSummary withTags(Map<String,String> tags)
Tags attached to the resource. 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
- Tags attached to the resource. 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 ChannelSummary addTagsEntry(String key, String value)
public ChannelSummary clearTagsEntries()
public void setInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP ingest. Default: false
.
insecureIngest
- Whether the channel allows insecure RTMP ingest. Default: false
.public Boolean getInsecureIngest()
Whether the channel allows insecure RTMP ingest. Default: false
.
false
.public ChannelSummary withInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP ingest. Default: false
.
insecureIngest
- Whether the channel allows insecure RTMP ingest. Default: false
.public Boolean isInsecureIngest()
Whether the channel allows insecure RTMP ingest. Default: false
.
false
.public void setType(String 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.
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.ChannelType
public String getType()
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.
STANDARD
. For details, see Channel
Types.ChannelType
public ChannelSummary withType(String 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.
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.ChannelType
public ChannelSummary withType(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.
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.ChannelType
public void setPreset(String 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 (""
).
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 (""
).TranscodePreset
public String getPreset()
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 (""
).
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 (""
).TranscodePreset
public ChannelSummary withPreset(String 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 (""
).
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 (""
).TranscodePreset
public ChannelSummary withPreset(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 (""
).
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 (""
).TranscodePreset
public void setPlaybackRestrictionPolicyArn(String 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).
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).public String getPlaybackRestrictionPolicyArn()
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).
public ChannelSummary withPlaybackRestrictionPolicyArn(String 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).
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).public String toString()
toString
in class Object
Object.toString()
public ChannelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.