#[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.
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 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 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 build(self) -> StreamingConfiguration
pub fn build(self) -> StreamingConfiguration
Consumes the builder and constructs a StreamingConfiguration.
Trait Implementations§
source§impl Clone for StreamingConfigurationBuilder
impl Clone for StreamingConfigurationBuilder
source§fn clone(&self) -> StreamingConfigurationBuilder
fn clone(&self) -> StreamingConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for StreamingConfigurationBuilder
impl Default for StreamingConfigurationBuilder
source§fn default() -> StreamingConfigurationBuilder
fn default() -> StreamingConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<StreamingConfigurationBuilder> for StreamingConfigurationBuilder
impl PartialEq<StreamingConfigurationBuilder> for StreamingConfigurationBuilder
source§fn eq(&self, other: &StreamingConfigurationBuilder) -> bool
fn eq(&self, other: &StreamingConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StreamingConfigurationBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more