@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
ARN of the channel to be updated.
|
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 |
getPreset()
Optional transcode preset for the channel.
|
String |
getRecordingConfigurationArn()
Recording-configuration ARN.
|
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 |
setArn(String arn)
ARN of the channel to be updated.
|
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 |
setPreset(String preset)
Optional transcode preset for the channel.
|
void |
setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN.
|
void |
setType(String type)
Channel type, which determines the allowable resolution and bitrate.
|
String |
toString()
Returns a string representation of this object.
|
UpdateChannelRequest |
withArn(String arn)
ARN of the channel to be updated.
|
UpdateChannelRequest |
withAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization).
|
UpdateChannelRequest |
withInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP ingest.
|
UpdateChannelRequest |
withLatencyMode(ChannelLatencyMode latencyMode)
Channel latency mode.
|
UpdateChannelRequest |
withLatencyMode(String latencyMode)
Channel latency mode.
|
UpdateChannelRequest |
withName(String name)
Channel name.
|
UpdateChannelRequest |
withPreset(String preset)
Optional transcode preset for the channel.
|
UpdateChannelRequest |
withPreset(TranscodePreset preset)
Optional transcode preset for the channel.
|
UpdateChannelRequest |
withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN.
|
UpdateChannelRequest |
withType(ChannelType type)
Channel type, which determines the allowable resolution and bitrate.
|
UpdateChannelRequest |
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 setArn(String arn)
ARN of the channel to be updated.
arn
- ARN of the channel to be updated.public String getArn()
ARN of the channel to be updated.
public UpdateChannelRequest withArn(String arn)
ARN of the channel to be updated.
arn
- ARN of the channel to be updated.public void setAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization).
authorized
- Whether the channel is private (enabled for playback authorization).public Boolean getAuthorized()
Whether the channel is private (enabled for playback authorization).
public UpdateChannelRequest withAuthorized(Boolean authorized)
Whether the channel is private (enabled for playback authorization).
authorized
- Whether the channel is private (enabled for playback authorization).public Boolean isAuthorized()
Whether the channel is private (enabled for playback authorization).
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 UpdateChannelRequest 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 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.)
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.)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.)
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.)ChannelLatencyMode
public UpdateChannelRequest 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.)
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.)ChannelLatencyMode
public UpdateChannelRequest 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.)
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.)ChannelLatencyMode
public void setName(String name)
Channel name.
name
- Channel name.public String getName()
Channel name.
public UpdateChannelRequest withName(String name)
Channel name.
name
- Channel name.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 UpdateChannelRequest 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 UpdateChannelRequest 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 setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than an empty string indicates that recording is enabled
recordingConfigurationArn
- Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than
an empty string indicates that recording is enabledpublic String getRecordingConfigurationArn()
Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than an empty string indicates that recording is enabled
public UpdateChannelRequest withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than an empty string indicates that recording is enabled
recordingConfigurationArn
- Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than
an empty string indicates that recording is enabledpublic 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 UpdateChannelRequest 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 UpdateChannelRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()