Struct aws_sdk_iot::types::builders::StreamInfoBuilder
source · #[non_exhaustive]pub struct StreamInfoBuilder { /* private fields */ }
Expand description
A builder for StreamInfo
.
Implementations§
source§impl StreamInfoBuilder
impl StreamInfoBuilder
sourcepub fn set_stream_id(self, input: Option<String>) -> Self
pub fn set_stream_id(self, input: Option<String>) -> Self
The stream ID.
sourcepub fn get_stream_id(&self) -> &Option<String>
pub fn get_stream_id(&self) -> &Option<String>
The stream ID.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The stream ARN.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The stream ARN.
sourcepub fn get_stream_arn(&self) -> &Option<String>
pub fn get_stream_arn(&self) -> &Option<String>
The stream ARN.
sourcepub fn stream_version(self, input: i32) -> Self
pub fn stream_version(self, input: i32) -> Self
The stream version.
sourcepub fn set_stream_version(self, input: Option<i32>) -> Self
pub fn set_stream_version(self, input: Option<i32>) -> Self
The stream version.
sourcepub fn get_stream_version(&self) -> &Option<i32>
pub fn get_stream_version(&self) -> &Option<i32>
The stream version.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the stream.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the stream.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the stream.
sourcepub fn files(self, input: StreamFile) -> Self
pub fn files(self, input: StreamFile) -> Self
Appends an item to files
.
To override the contents of this collection use set_files
.
The files to stream.
sourcepub fn set_files(self, input: Option<Vec<StreamFile>>) -> Self
pub fn set_files(self, input: Option<Vec<StreamFile>>) -> Self
The files to stream.
sourcepub fn get_files(&self) -> &Option<Vec<StreamFile>>
pub fn get_files(&self) -> &Option<Vec<StreamFile>>
The files to stream.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date when the stream was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date when the stream was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date when the stream was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The date when the stream was last updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The date when the stream was last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The date when the stream was last updated.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
An IAM role IoT assumes to access your S3 files.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
An IAM role IoT assumes to access your S3 files.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
An IAM role IoT assumes to access your S3 files.
sourcepub fn build(self) -> StreamInfo
pub fn build(self) -> StreamInfo
Consumes the builder and constructs a StreamInfo
.
Trait Implementations§
source§impl Clone for StreamInfoBuilder
impl Clone for StreamInfoBuilder
source§fn clone(&self) -> StreamInfoBuilder
fn clone(&self) -> StreamInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamInfoBuilder
impl Debug for StreamInfoBuilder
source§impl Default for StreamInfoBuilder
impl Default for StreamInfoBuilder
source§fn default() -> StreamInfoBuilder
fn default() -> StreamInfoBuilder
source§impl PartialEq for StreamInfoBuilder
impl PartialEq for StreamInfoBuilder
source§fn eq(&self, other: &StreamInfoBuilder) -> bool
fn eq(&self, other: &StreamInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StreamInfoBuilder
Auto Trait Implementations§
impl Freeze for StreamInfoBuilder
impl RefUnwindSafe for StreamInfoBuilder
impl Send for StreamInfoBuilder
impl Sync for StreamInfoBuilder
impl Unpin for StreamInfoBuilder
impl UnwindSafe for StreamInfoBuilder
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