#[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 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 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
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 SearchResourcesOutputBuilder
impl Debug for SearchResourcesOutputBuilder
source§impl Default for SearchResourcesOutputBuilder
impl Default for SearchResourcesOutputBuilder
source§fn default() -> SearchResourcesOutputBuilder
fn default() -> SearchResourcesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SearchResourcesOutputBuilder> for SearchResourcesOutputBuilder
impl PartialEq<SearchResourcesOutputBuilder> for SearchResourcesOutputBuilder
source§fn eq(&self, other: &SearchResourcesOutputBuilder) -> bool
fn eq(&self, other: &SearchResourcesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchResourcesOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more