#[non_exhaustive]pub struct SearchAssetsOutputBuilder { /* private fields */ }Expand description
A builder for SearchAssetsOutput.
Implementations§
Source§impl SearchAssetsOutputBuilder
impl SearchAssetsOutputBuilder
Sourcepub fn items(self, input: SearchResultItem) -> Self
pub fn items(self, input: SearchResultItem) -> Self
Appends an item to items.
To override the contents of this collection use set_items.
The list of assets matching the search criteria.
Sourcepub fn set_items(self, input: Option<Vec<SearchResultItem>>) -> Self
pub fn set_items(self, input: Option<Vec<SearchResultItem>>) -> Self
The list of assets matching the search criteria.
Sourcepub fn get_items(&self) -> &Option<Vec<SearchResultItem>>
pub fn get_items(&self) -> &Option<Vec<SearchResultItem>>
The list of assets matching the search criteria.
Sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, present if the current segment is not the last.
Sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, present if the current segment is not the last.
Sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, present if the current segment is not the last.
Sourcepub fn build(self) -> SearchAssetsOutput
pub fn build(self) -> SearchAssetsOutput
Consumes the builder and constructs a SearchAssetsOutput.
Trait Implementations§
Source§impl Clone for SearchAssetsOutputBuilder
impl Clone for SearchAssetsOutputBuilder
Source§fn clone(&self) -> SearchAssetsOutputBuilder
fn clone(&self) -> SearchAssetsOutputBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchAssetsOutputBuilder
impl Debug for SearchAssetsOutputBuilder
Source§impl Default for SearchAssetsOutputBuilder
impl Default for SearchAssetsOutputBuilder
Source§fn default() -> SearchAssetsOutputBuilder
fn default() -> SearchAssetsOutputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for SearchAssetsOutputBuilder
Auto Trait Implementations§
impl Freeze for SearchAssetsOutputBuilder
impl RefUnwindSafe for SearchAssetsOutputBuilder
impl Send for SearchAssetsOutputBuilder
impl Sync for SearchAssetsOutputBuilder
impl Unpin for SearchAssetsOutputBuilder
impl UnsafeUnpin for SearchAssetsOutputBuilder
impl UnwindSafe for SearchAssetsOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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 moreCreates a shared type from an unshared type.