#[non_exhaustive]pub struct ListSamplesOutputBuilder { /* private fields */ }Expand description
A builder for ListSamplesOutput.
Implementations§
source§impl ListSamplesOutputBuilder
impl ListSamplesOutputBuilder
sourcepub fn samples(self, input: Sample) -> Self
pub fn samples(self, input: Sample) -> Self
Appends an item to samples.
To override the contents of this collection use set_samples.
Information about the samples.
sourcepub fn set_samples(self, input: Option<Vec<Sample>>) -> Self
pub fn set_samples(self, input: Option<Vec<Sample>>) -> Self
Information about the samples.
sourcepub fn get_samples(&self) -> &Option<Vec<Sample>>
pub fn get_samples(&self) -> &Option<Vec<Sample>>
Information about the samples.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
sourcepub fn build(self) -> ListSamplesOutput
pub fn build(self) -> ListSamplesOutput
Consumes the builder and constructs a ListSamplesOutput.
Trait Implementations§
source§impl Clone for ListSamplesOutputBuilder
impl Clone for ListSamplesOutputBuilder
source§fn clone(&self) -> ListSamplesOutputBuilder
fn clone(&self) -> ListSamplesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListSamplesOutputBuilder
impl Debug for ListSamplesOutputBuilder
source§impl Default for ListSamplesOutputBuilder
impl Default for ListSamplesOutputBuilder
source§fn default() -> ListSamplesOutputBuilder
fn default() -> ListSamplesOutputBuilder
source§impl PartialEq for ListSamplesOutputBuilder
impl PartialEq for ListSamplesOutputBuilder
impl StructuralPartialEq for ListSamplesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListSamplesOutputBuilder
impl RefUnwindSafe for ListSamplesOutputBuilder
impl Send for ListSamplesOutputBuilder
impl Sync for ListSamplesOutputBuilder
impl Unpin for ListSamplesOutputBuilder
impl UnwindSafe for ListSamplesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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