Struct aws_sdk_workmail::operation::list_resource_delegates::builders::ListResourceDelegatesOutputBuilder
source · #[non_exhaustive]pub struct ListResourceDelegatesOutputBuilder { /* private fields */ }
Expand description
A builder for ListResourceDelegatesOutput
.
Implementations§
source§impl ListResourceDelegatesOutputBuilder
impl ListResourceDelegatesOutputBuilder
sourcepub fn delegates(self, input: Delegate) -> Self
pub fn delegates(self, input: Delegate) -> Self
Appends an item to delegates
.
To override the contents of this collection use set_delegates
.
One page of the resource's delegates.
sourcepub fn set_delegates(self, input: Option<Vec<Delegate>>) -> Self
pub fn set_delegates(self, input: Option<Vec<Delegate>>) -> Self
One page of the resource's delegates.
sourcepub fn get_delegates(&self) -> &Option<Vec<Delegate>>
pub fn get_delegates(&self) -> &Option<Vec<Delegate>>
One page of the resource's delegates.
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 the delegates associated with a resource. 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 the delegates associated with a resource. 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 the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.
sourcepub fn build(self) -> ListResourceDelegatesOutput
pub fn build(self) -> ListResourceDelegatesOutput
Consumes the builder and constructs a ListResourceDelegatesOutput
.
Trait Implementations§
source§impl Clone for ListResourceDelegatesOutputBuilder
impl Clone for ListResourceDelegatesOutputBuilder
source§fn clone(&self) -> ListResourceDelegatesOutputBuilder
fn clone(&self) -> ListResourceDelegatesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListResourceDelegatesOutputBuilder
impl Default for ListResourceDelegatesOutputBuilder
source§fn default() -> ListResourceDelegatesOutputBuilder
fn default() -> ListResourceDelegatesOutputBuilder
source§impl PartialEq for ListResourceDelegatesOutputBuilder
impl PartialEq for ListResourceDelegatesOutputBuilder
source§fn eq(&self, other: &ListResourceDelegatesOutputBuilder) -> bool
fn eq(&self, other: &ListResourceDelegatesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListResourceDelegatesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListResourceDelegatesOutputBuilder
impl RefUnwindSafe for ListResourceDelegatesOutputBuilder
impl Send for ListResourceDelegatesOutputBuilder
impl Sync for ListResourceDelegatesOutputBuilder
impl Unpin for ListResourceDelegatesOutputBuilder
impl UnwindSafe for ListResourceDelegatesOutputBuilder
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