Struct aws_sdk_connect::types::KinesisVideoStreamConfig
source · #[non_exhaustive]pub struct KinesisVideoStreamConfig {
pub prefix: String,
pub retention_period_hours: i32,
pub encryption_config: Option<EncryptionConfig>,
}
Expand description
Configuration information of a Kinesis video stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.prefix: String
The prefix of the video stream.
retention_period_hours: i32
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
encryption_config: Option<EncryptionConfig>
The encryption configuration.
Implementations§
source§impl KinesisVideoStreamConfig
impl KinesisVideoStreamConfig
sourcepub fn retention_period_hours(&self) -> i32
pub fn retention_period_hours(&self) -> i32
The number of hours data is retained in the stream. Kinesis Video Streams retains the data in a data store that is associated with the stream.
The default value is 0, indicating that the stream does not persist data.
sourcepub fn encryption_config(&self) -> Option<&EncryptionConfig>
pub fn encryption_config(&self) -> Option<&EncryptionConfig>
The encryption configuration.
source§impl KinesisVideoStreamConfig
impl KinesisVideoStreamConfig
sourcepub fn builder() -> KinesisVideoStreamConfigBuilder
pub fn builder() -> KinesisVideoStreamConfigBuilder
Creates a new builder-style object to manufacture KinesisVideoStreamConfig
.
Trait Implementations§
source§impl Clone for KinesisVideoStreamConfig
impl Clone for KinesisVideoStreamConfig
source§fn clone(&self) -> KinesisVideoStreamConfig
fn clone(&self) -> KinesisVideoStreamConfig
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 Debug for KinesisVideoStreamConfig
impl Debug for KinesisVideoStreamConfig
source§impl PartialEq for KinesisVideoStreamConfig
impl PartialEq for KinesisVideoStreamConfig
source§fn eq(&self, other: &KinesisVideoStreamConfig) -> bool
fn eq(&self, other: &KinesisVideoStreamConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KinesisVideoStreamConfig
Auto Trait Implementations§
impl Freeze for KinesisVideoStreamConfig
impl RefUnwindSafe for KinesisVideoStreamConfig
impl Send for KinesisVideoStreamConfig
impl Sync for KinesisVideoStreamConfig
impl Unpin for KinesisVideoStreamConfig
impl UnwindSafe for KinesisVideoStreamConfig
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
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>
Creates a shared type from an unshared type.