Struct aws_sdk_ssoadmin::operation::list_account_assignments_for_principal::builders::ListAccountAssignmentsForPrincipalOutputBuilder
source · #[non_exhaustive]pub struct ListAccountAssignmentsForPrincipalOutputBuilder { /* private fields */ }
Expand description
A builder for ListAccountAssignmentsForPrincipalOutput
.
Implementations§
source§impl ListAccountAssignmentsForPrincipalOutputBuilder
impl ListAccountAssignmentsForPrincipalOutputBuilder
sourcepub fn account_assignments(self, input: AccountAssignmentForPrincipal) -> Self
pub fn account_assignments(self, input: AccountAssignmentForPrincipal) -> Self
Appends an item to account_assignments
.
To override the contents of this collection use set_account_assignments
.
An array list of the account assignments for the principal.
sourcepub fn set_account_assignments(
self,
input: Option<Vec<AccountAssignmentForPrincipal>>,
) -> Self
pub fn set_account_assignments( self, input: Option<Vec<AccountAssignmentForPrincipal>>, ) -> Self
An array list of the account assignments for the principal.
sourcepub fn get_account_assignments(
&self,
) -> &Option<Vec<AccountAssignmentForPrincipal>>
pub fn get_account_assignments( &self, ) -> &Option<Vec<AccountAssignmentForPrincipal>>
An array list of the account assignments for the principal.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the last page of results.
sourcepub fn build(self) -> ListAccountAssignmentsForPrincipalOutput
pub fn build(self) -> ListAccountAssignmentsForPrincipalOutput
Consumes the builder and constructs a ListAccountAssignmentsForPrincipalOutput
.
Trait Implementations§
source§impl Clone for ListAccountAssignmentsForPrincipalOutputBuilder
impl Clone for ListAccountAssignmentsForPrincipalOutputBuilder
source§fn clone(&self) -> ListAccountAssignmentsForPrincipalOutputBuilder
fn clone(&self) -> ListAccountAssignmentsForPrincipalOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListAccountAssignmentsForPrincipalOutputBuilder
impl Default for ListAccountAssignmentsForPrincipalOutputBuilder
source§fn default() -> ListAccountAssignmentsForPrincipalOutputBuilder
fn default() -> ListAccountAssignmentsForPrincipalOutputBuilder
source§impl PartialEq for ListAccountAssignmentsForPrincipalOutputBuilder
impl PartialEq for ListAccountAssignmentsForPrincipalOutputBuilder
source§fn eq(&self, other: &ListAccountAssignmentsForPrincipalOutputBuilder) -> bool
fn eq(&self, other: &ListAccountAssignmentsForPrincipalOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAccountAssignmentsForPrincipalOutputBuilder
Auto Trait Implementations§
impl Freeze for ListAccountAssignmentsForPrincipalOutputBuilder
impl RefUnwindSafe for ListAccountAssignmentsForPrincipalOutputBuilder
impl Send for ListAccountAssignmentsForPrincipalOutputBuilder
impl Sync for ListAccountAssignmentsForPrincipalOutputBuilder
impl Unpin for ListAccountAssignmentsForPrincipalOutputBuilder
impl UnwindSafe for ListAccountAssignmentsForPrincipalOutputBuilder
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