Struct aws_sdk_workmail::operation::list_impersonation_roles::builders::ListImpersonationRolesOutputBuilder
source · #[non_exhaustive]pub struct ListImpersonationRolesOutputBuilder { /* private fields */ }
Expand description
A builder for ListImpersonationRolesOutput
.
Implementations§
source§impl ListImpersonationRolesOutputBuilder
impl ListImpersonationRolesOutputBuilder
sourcepub fn roles(self, input: ImpersonationRole) -> Self
pub fn roles(self, input: ImpersonationRole) -> Self
Appends an item to roles
.
To override the contents of this collection use set_roles
.
The list of impersonation roles under the given WorkMail organization.
sourcepub fn set_roles(self, input: Option<Vec<ImpersonationRole>>) -> Self
pub fn set_roles(self, input: Option<Vec<ImpersonationRole>>) -> Self
The list of impersonation roles under the given WorkMail organization.
sourcepub fn get_roles(&self) -> &Option<Vec<ImpersonationRole>>
pub fn get_roles(&self) -> &Option<Vec<ImpersonationRole>>
The list of impersonation roles under the given WorkMail organization.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to retrieve the next page of results. The value is null
when there are no results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to retrieve the next page of results. The value is null
when there are no results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to retrieve the next page of results. The value is null
when there are no results to return.
sourcepub fn build(self) -> ListImpersonationRolesOutput
pub fn build(self) -> ListImpersonationRolesOutput
Consumes the builder and constructs a ListImpersonationRolesOutput
.
Trait Implementations§
source§impl Clone for ListImpersonationRolesOutputBuilder
impl Clone for ListImpersonationRolesOutputBuilder
source§fn clone(&self) -> ListImpersonationRolesOutputBuilder
fn clone(&self) -> ListImpersonationRolesOutputBuilder
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 ListImpersonationRolesOutputBuilder
impl Default for ListImpersonationRolesOutputBuilder
source§fn default() -> ListImpersonationRolesOutputBuilder
fn default() -> ListImpersonationRolesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListImpersonationRolesOutputBuilder
impl PartialEq for ListImpersonationRolesOutputBuilder
source§fn eq(&self, other: &ListImpersonationRolesOutputBuilder) -> bool
fn eq(&self, other: &ListImpersonationRolesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListImpersonationRolesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListImpersonationRolesOutputBuilder
impl RefUnwindSafe for ListImpersonationRolesOutputBuilder
impl Send for ListImpersonationRolesOutputBuilder
impl Sync for ListImpersonationRolesOutputBuilder
impl Unpin for ListImpersonationRolesOutputBuilder
impl UnwindSafe for ListImpersonationRolesOutputBuilder
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.