#[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
.
One page of the organization's resource representation.
sourcepub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
pub fn set_resources(self, input: Option<Vec<Resource>>) -> Self
One page of the organization's resource representation.
sourcepub fn get_resources(&self) -> &Option<Vec<Resource>>
pub fn get_resources(&self) -> &Option<Vec<Resource>>
One page of the organization's resource representation.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ListResourcesOutputBuilder
impl PartialEq for ListResourcesOutputBuilder
source§fn eq(&self, other: &ListResourcesOutputBuilder) -> bool
fn eq(&self, other: &ListResourcesOutputBuilder) -> bool
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
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