#[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<ListResourcesOutputBuilder> for ListResourcesOutputBuilder
impl PartialEq<ListResourcesOutputBuilder> 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 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