Struct aws_sdk_ivs::types::builders::ChannelBuilder
source · #[non_exhaustive]pub struct ChannelBuilder { /* private fields */ }
Expand description
A builder for Channel
.
Implementations§
source§impl ChannelBuilder
impl ChannelBuilder
sourcepub fn latency_mode(self, input: ChannelLatencyMode) -> Self
pub fn latency_mode(self, input: ChannelLatencyMode) -> Self
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
.
sourcepub fn set_latency_mode(self, input: Option<ChannelLatencyMode>) -> Self
pub fn set_latency_mode(self, input: Option<ChannelLatencyMode>) -> Self
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
.
sourcepub fn get_latency_mode(&self) -> &Option<ChannelLatencyMode>
pub fn get_latency_mode(&self) -> &Option<ChannelLatencyMode>
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
.
sourcepub fn type(self, input: ChannelType) -> Self
pub fn type(self, input: ChannelType) -> Self
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.
sourcepub fn set_type(self, input: Option<ChannelType>) -> Self
pub fn set_type(self, input: Option<ChannelType>) -> Self
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.
sourcepub fn get_type(&self) -> &Option<ChannelType>
pub fn get_type(&self) -> &Option<ChannelType>
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.
sourcepub fn recording_configuration_arn(self, input: impl Into<String>) -> Self
pub fn recording_configuration_arn(self, input: impl Into<String>) -> Self
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
sourcepub fn set_recording_configuration_arn(self, input: Option<String>) -> Self
pub fn set_recording_configuration_arn(self, input: Option<String>) -> Self
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
sourcepub fn get_recording_configuration_arn(&self) -> &Option<String>
pub fn get_recording_configuration_arn(&self) -> &Option<String>
Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: "" (empty string, recording is disabled).
sourcepub fn ingest_endpoint(self, input: impl Into<String>) -> Self
pub fn ingest_endpoint(self, input: impl Into<String>) -> Self
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
sourcepub fn set_ingest_endpoint(self, input: Option<String>) -> Self
pub fn set_ingest_endpoint(self, input: Option<String>) -> Self
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
sourcepub fn get_ingest_endpoint(&self) -> &Option<String>
pub fn get_ingest_endpoint(&self) -> &Option<String>
Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
sourcepub fn playback_url(self, input: impl Into<String>) -> Self
pub fn playback_url(self, input: impl Into<String>) -> Self
Channel playback URL.
sourcepub fn set_playback_url(self, input: Option<String>) -> Self
pub fn set_playback_url(self, input: Option<String>) -> Self
Channel playback URL.
sourcepub fn get_playback_url(&self) -> &Option<String>
pub fn get_playback_url(&self) -> &Option<String>
Channel playback URL.
Whether the channel is private (enabled for playback authorization). Default: false
.
Whether the channel is private (enabled for playback authorization). Default: false
.
Whether the channel is private (enabled for playback authorization). Default: false
.
Adds a key-value pair to tags
.
To override the contents of this collection use set_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 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 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.
sourcepub fn insecure_ingest(self, input: bool) -> Self
pub fn insecure_ingest(self, input: bool) -> Self
Whether the channel allows insecure RTMP ingest. Default: false
.
sourcepub fn set_insecure_ingest(self, input: Option<bool>) -> Self
pub fn set_insecure_ingest(self, input: Option<bool>) -> Self
Whether the channel allows insecure RTMP ingest. Default: false
.
sourcepub fn get_insecure_ingest(&self) -> &Option<bool>
pub fn get_insecure_ingest(&self) -> &Option<bool>
Whether the channel allows insecure RTMP ingest. Default: false
.
sourcepub fn preset(self, input: TranscodePreset) -> Self
pub fn preset(self, input: TranscodePreset) -> Self
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 (""
).
sourcepub fn set_preset(self, input: Option<TranscodePreset>) -> Self
pub fn set_preset(self, input: Option<TranscodePreset>) -> Self
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 (""
).
sourcepub fn get_preset(&self) -> &Option<TranscodePreset>
pub fn get_preset(&self) -> &Option<TranscodePreset>
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 (""
).
sourcepub fn srt(self, input: Srt) -> Self
pub fn srt(self, input: Srt) -> Self
Specifies the endpoint and optional passphrase for streaming with the SRT protocol.
sourcepub fn set_srt(self, input: Option<Srt>) -> Self
pub fn set_srt(self, input: Option<Srt>) -> Self
Specifies the endpoint and optional passphrase for streaming with the SRT protocol.
sourcepub fn get_srt(&self) -> &Option<Srt>
pub fn get_srt(&self) -> &Option<Srt>
Specifies the endpoint and optional passphrase for streaming with the SRT protocol.
sourcepub fn playback_restriction_policy_arn(self, input: impl Into<String>) -> Self
pub fn playback_restriction_policy_arn(self, input: impl Into<String>) -> Self
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).
sourcepub fn set_playback_restriction_policy_arn(self, input: Option<String>) -> Self
pub fn set_playback_restriction_policy_arn(self, input: Option<String>) -> Self
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).
sourcepub fn get_playback_restriction_policy_arn(&self) -> &Option<String>
pub fn get_playback_restriction_policy_arn(&self) -> &Option<String>
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).
Trait Implementations§
source§impl Clone for ChannelBuilder
impl Clone for ChannelBuilder
source§fn clone(&self) -> ChannelBuilder
fn clone(&self) -> ChannelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelBuilder
impl Debug for ChannelBuilder
source§impl Default for ChannelBuilder
impl Default for ChannelBuilder
source§fn default() -> ChannelBuilder
fn default() -> ChannelBuilder
source§impl PartialEq for ChannelBuilder
impl PartialEq for ChannelBuilder
source§fn eq(&self, other: &ChannelBuilder) -> bool
fn eq(&self, other: &ChannelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelBuilder
Auto Trait Implementations§
impl Freeze for ChannelBuilder
impl RefUnwindSafe for ChannelBuilder
impl Send for ChannelBuilder
impl Sync for ChannelBuilder
impl Unpin for ChannelBuilder
impl UnwindSafe for ChannelBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more