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