#[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 ==
.