#[non_exhaustive]pub struct StreamingConfigurationBuilder { /* private fields */ }
Expand description
A builder for StreamingConfiguration
.
Implementations§
source§impl StreamingConfigurationBuilder
impl StreamingConfigurationBuilder
sourcepub fn data_retention_in_hours(self, input: i32) -> Self
pub fn data_retention_in_hours(self, input: i32) -> Self
The retention period, in hours, for the Amazon Kinesis data.
This field is required.sourcepub fn set_data_retention_in_hours(self, input: Option<i32>) -> Self
pub fn set_data_retention_in_hours(self, input: Option<i32>) -> Self
The retention period, in hours, for the Amazon Kinesis data.
sourcepub fn get_data_retention_in_hours(&self) -> &Option<i32>
pub fn get_data_retention_in_hours(&self) -> &Option<i32>
The retention period, in hours, for the Amazon Kinesis data.
sourcepub fn disabled(self, input: bool) -> Self
pub fn disabled(self, input: bool) -> Self
When true, media streaming to Amazon Kinesis is turned off.
sourcepub fn set_disabled(self, input: Option<bool>) -> Self
pub fn set_disabled(self, input: Option<bool>) -> Self
When true, media streaming to Amazon Kinesis is turned off.
sourcepub fn get_disabled(&self) -> &Option<bool>
pub fn get_disabled(&self) -> &Option<bool>
When true, media streaming to Amazon Kinesis is turned off.
sourcepub fn streaming_notification_targets(
self,
input: StreamingNotificationTarget
) -> Self
pub fn streaming_notification_targets( self, input: StreamingNotificationTarget ) -> Self
Appends an item to streaming_notification_targets
.
To override the contents of this collection use set_streaming_notification_targets
.
The streaming notification targets.
sourcepub fn set_streaming_notification_targets(
self,
input: Option<Vec<StreamingNotificationTarget>>
) -> Self
pub fn set_streaming_notification_targets( self, input: Option<Vec<StreamingNotificationTarget>> ) -> Self
The streaming notification targets.
sourcepub fn get_streaming_notification_targets(
&self
) -> &Option<Vec<StreamingNotificationTarget>>
pub fn get_streaming_notification_targets( &self ) -> &Option<Vec<StreamingNotificationTarget>>
The streaming notification targets.
sourcepub fn build(self) -> Result<StreamingConfiguration, BuildError>
pub fn build(self) -> Result<StreamingConfiguration, BuildError>
Consumes the builder and constructs a StreamingConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StreamingConfigurationBuilder
impl Clone for StreamingConfigurationBuilder
source§fn clone(&self) -> StreamingConfigurationBuilder
fn clone(&self) -> StreamingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StreamingConfigurationBuilder
impl Default for StreamingConfigurationBuilder
source§fn default() -> StreamingConfigurationBuilder
fn default() -> StreamingConfigurationBuilder
source§impl PartialEq for StreamingConfigurationBuilder
impl PartialEq for StreamingConfigurationBuilder
source§fn eq(&self, other: &StreamingConfigurationBuilder) -> bool
fn eq(&self, other: &StreamingConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StreamingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for StreamingConfigurationBuilder
impl RefUnwindSafe for StreamingConfigurationBuilder
impl Send for StreamingConfigurationBuilder
impl Sync for StreamingConfigurationBuilder
impl Unpin for StreamingConfigurationBuilder
impl UnwindSafe for StreamingConfigurationBuilder
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