@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 and SRT 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.
|
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 and SRT 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 and SRT 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 |
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 and SRT ingest.
|
UpdateChannelRequest |
withLatencyMode(ChannelLatencyMode latencyMode)
Channel latency mode.
|
UpdateChannelRequest |
withLatencyMode(String latencyMode)
Channel latency mode.
|
UpdateChannelRequest |
withName(String name)
Channel name.
|
UpdateChannelRequest |
withPlaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)
Playback-restriction-policy ARN.
|
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 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 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.
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.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.
NORMAL
to broadcast and deliver live video up to Full HD. Use
LOW
for near-real-time interaction with viewers.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.
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.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.
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.ChannelLatencyMode
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 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 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 setRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
recordingConfigurationArn
- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this
is set to an empty string, recording is disabled.public String getRecordingConfigurationArn()
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
public UpdateChannelRequest withRecordingConfigurationArn(String recordingConfigurationArn)
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.
recordingConfigurationArn
- Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this
is set to an empty string, recording is disabled.public void setInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP and SRT ingest. Default: false
.
insecureIngest
- Whether the channel allows insecure RTMP and SRT ingest. Default: false
.public Boolean getInsecureIngest()
Whether the channel allows insecure RTMP and SRT ingest. Default: false
.
false
.public UpdateChannelRequest withInsecureIngest(Boolean insecureIngest)
Whether the channel allows insecure RTMP and SRT ingest. Default: false
.
insecureIngest
- Whether the channel allows insecure RTMP and SRT ingest. Default: false
.public Boolean isInsecureIngest()
Whether the channel allows insecure RTMP and SRT ingest. Default: false
.
false
.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 setPlaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)
Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
playbackRestrictionPolicyArn
- Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback
restriction. If this is set to an empty string, playback restriction policy is disabled.public String getPlaybackRestrictionPolicyArn()
Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
public UpdateChannelRequest withPlaybackRestrictionPolicyArn(String playbackRestrictionPolicyArn)
Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.
playbackRestrictionPolicyArn
- Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback
restriction. If this is set to an empty string, playback restriction policy is disabled.public String toString()
toString
in class Object
Object.toString()
public UpdateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()