#[non_exhaustive]pub struct ListStreamsOutputBuilder { /* private fields */ }
Expand description
A builder for ListStreamsOutput
.
Implementations§
source§impl ListStreamsOutputBuilder
impl ListStreamsOutputBuilder
sourcepub fn streams(self, input: StreamSummary) -> Self
pub fn streams(self, input: StreamSummary) -> Self
Appends an item to streams
.
To override the contents of this collection use set_streams
.
A list of streams.
sourcepub fn set_streams(self, input: Option<Vec<StreamSummary>>) -> Self
pub fn set_streams(self, input: Option<Vec<StreamSummary>>) -> Self
A list of streams.
sourcepub fn get_streams(&self) -> &Option<Vec<StreamSummary>>
pub fn get_streams(&self) -> &Option<Vec<StreamSummary>>
A list of streams.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token used to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token used to get the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token used to get the next set of results.
sourcepub fn build(self) -> ListStreamsOutput
pub fn build(self) -> ListStreamsOutput
Consumes the builder and constructs a ListStreamsOutput
.
Trait Implementations§
source§impl Clone for ListStreamsOutputBuilder
impl Clone for ListStreamsOutputBuilder
source§fn clone(&self) -> ListStreamsOutputBuilder
fn clone(&self) -> ListStreamsOutputBuilder
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 ListStreamsOutputBuilder
impl Debug for ListStreamsOutputBuilder
source§impl Default for ListStreamsOutputBuilder
impl Default for ListStreamsOutputBuilder
source§fn default() -> ListStreamsOutputBuilder
fn default() -> ListStreamsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListStreamsOutputBuilder
impl PartialEq for ListStreamsOutputBuilder
source§fn eq(&self, other: &ListStreamsOutputBuilder) -> bool
fn eq(&self, other: &ListStreamsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListStreamsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListStreamsOutputBuilder
impl RefUnwindSafe for ListStreamsOutputBuilder
impl Send for ListStreamsOutputBuilder
impl Sync for ListStreamsOutputBuilder
impl Unpin for ListStreamsOutputBuilder
impl UnwindSafe for ListStreamsOutputBuilder
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.