#[non_exhaustive]pub struct SearchResourcesOutputBuilder { /* private fields */ }Expand description
A builder for SearchResourcesOutput.
Implementations§
source§impl SearchResourcesOutputBuilder
impl SearchResourcesOutputBuilder
sourcepub fn matching_resources(self, input: MatchingResource) -> Self
pub fn matching_resources(self, input: MatchingResource) -> Self
Appends an item to matching_resources.
To override the contents of this collection use set_matching_resources.
An array of objects, one for each resource that matches the filter criteria specified in the request.
sourcepub fn set_matching_resources(
self,
input: Option<Vec<MatchingResource>>,
) -> Self
pub fn set_matching_resources( self, input: Option<Vec<MatchingResource>>, ) -> Self
An array of objects, one for each resource that matches the filter criteria specified in the request.
sourcepub fn get_matching_resources(&self) -> &Option<Vec<MatchingResource>>
pub fn get_matching_resources(&self) -> &Option<Vec<MatchingResource>>
An array of objects, one for each resource that matches the filter criteria specified in the request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn build(self) -> SearchResourcesOutput
pub fn build(self) -> SearchResourcesOutput
Consumes the builder and constructs a SearchResourcesOutput.
Trait Implementations§
source§impl Clone for SearchResourcesOutputBuilder
impl Clone for SearchResourcesOutputBuilder
source§fn clone(&self) -> SearchResourcesOutputBuilder
fn clone(&self) -> SearchResourcesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchResourcesOutputBuilder
impl Debug for SearchResourcesOutputBuilder
source§impl Default for SearchResourcesOutputBuilder
impl Default for SearchResourcesOutputBuilder
source§fn default() -> SearchResourcesOutputBuilder
fn default() -> SearchResourcesOutputBuilder
source§impl PartialEq for SearchResourcesOutputBuilder
impl PartialEq for SearchResourcesOutputBuilder
source§fn eq(&self, other: &SearchResourcesOutputBuilder) -> bool
fn eq(&self, other: &SearchResourcesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchResourcesOutputBuilder
Auto Trait Implementations§
impl Freeze for SearchResourcesOutputBuilder
impl RefUnwindSafe for SearchResourcesOutputBuilder
impl Send for SearchResourcesOutputBuilder
impl Sync for SearchResourcesOutputBuilder
impl Unpin for SearchResourcesOutputBuilder
impl UnwindSafe for SearchResourcesOutputBuilder
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