#[non_exhaustive]pub struct ListResourcesOutputBuilder { /* private fields */ }Expand description
A builder for ListResourcesOutput.
Implementations§
source§impl ListResourcesOutputBuilder
 
impl ListResourcesOutputBuilder
sourcepub fn resources(self, input: Resource) -> Self
 
pub fn resources(self, input: Resource) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
An array of resources associated with the project.
sourcepub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
 
pub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
An array of resources associated with the project.
sourcepub fn get_resources(&self) -> &Option<Vec<Resource>>
 
pub fn get_resources(&self) -> &Option<Vec<Resource>>
An array of resources associated with the project.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
 
pub fn next_token(self, input: impl Into<String>) -> Self
The continuation token to use when requesting the next set of results, if there are more results to be returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
 
pub fn set_next_token(self, input: Option<String>) -> Self
The continuation token to use when requesting the next set of results, if there are more results to be returned.
sourcepub fn get_next_token(&self) -> &Option<String>
 
pub fn get_next_token(&self) -> &Option<String>
The continuation token to use when requesting the next set of results, if there are more results to be returned.
sourcepub fn build(self) -> ListResourcesOutput
 
pub fn build(self) -> ListResourcesOutput
Consumes the builder and constructs a ListResourcesOutput.
Trait Implementations§
source§impl Clone for ListResourcesOutputBuilder
 
impl Clone for ListResourcesOutputBuilder
source§fn clone(&self) -> ListResourcesOutputBuilder
 
fn clone(&self) -> ListResourcesOutputBuilder
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 ListResourcesOutputBuilder
 
impl Debug for ListResourcesOutputBuilder
source§impl Default for ListResourcesOutputBuilder
 
impl Default for ListResourcesOutputBuilder
source§fn default() -> ListResourcesOutputBuilder
 
fn default() -> ListResourcesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListResourcesOutputBuilder
 
impl PartialEq for ListResourcesOutputBuilder
source§fn eq(&self, other: &ListResourcesOutputBuilder) -> bool
 
fn eq(&self, other: &ListResourcesOutputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListResourcesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListResourcesOutputBuilder
impl RefUnwindSafe for ListResourcesOutputBuilder
impl Send for ListResourcesOutputBuilder
impl Sync for ListResourcesOutputBuilder
impl Unpin for ListResourcesOutputBuilder
impl UnwindSafe for ListResourcesOutputBuilder
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>
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.