Struct aws_sdk_ivs::types::builders::ChannelSummaryBuilder
source · #[non_exhaustive]pub struct ChannelSummaryBuilder { /* private fields */ }
Expand description
A builder for ChannelSummary
.
Implementations§
source§impl ChannelSummaryBuilder
impl ChannelSummaryBuilder
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
.
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
.
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).
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 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 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 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).
sourcepub fn build(self) -> ChannelSummary
pub fn build(self) -> ChannelSummary
Consumes the builder and constructs a ChannelSummary
.
Trait Implementations§
source§impl Clone for ChannelSummaryBuilder
impl Clone for ChannelSummaryBuilder
source§fn clone(&self) -> ChannelSummaryBuilder
fn clone(&self) -> ChannelSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelSummaryBuilder
impl Debug for ChannelSummaryBuilder
source§impl Default for ChannelSummaryBuilder
impl Default for ChannelSummaryBuilder
source§fn default() -> ChannelSummaryBuilder
fn default() -> ChannelSummaryBuilder
source§impl PartialEq for ChannelSummaryBuilder
impl PartialEq for ChannelSummaryBuilder
source§fn eq(&self, other: &ChannelSummaryBuilder) -> bool
fn eq(&self, other: &ChannelSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelSummaryBuilder
Auto Trait Implementations§
impl Freeze for ChannelSummaryBuilder
impl RefUnwindSafe for ChannelSummaryBuilder
impl Send for ChannelSummaryBuilder
impl Sync for ChannelSummaryBuilder
impl Unpin for ChannelSummaryBuilder
impl UnwindSafe for ChannelSummaryBuilder
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