Struct aws_sdk_ssoadmin::types::builders::AccountAssignmentBuilder
source · #[non_exhaustive]pub struct AccountAssignmentBuilder { /* private fields */ }
Expand description
A builder for AccountAssignment
.
Implementations§
source§impl AccountAssignmentBuilder
impl AccountAssignmentBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Web Services account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The identifier of the Amazon Web Services account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The identifier of the Amazon Web Services account.
sourcepub fn permission_set_arn(self, input: impl Into<String>) -> Self
pub fn permission_set_arn(self, input: impl Into<String>) -> Self
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn set_permission_set_arn(self, input: Option<String>) -> Self
pub fn set_permission_set_arn(self, input: Option<String>) -> Self
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn principal_type(self, input: PrincipalType) -> Self
pub fn principal_type(self, input: PrincipalType) -> Self
The entity type for which the assignment will be created.
sourcepub fn set_principal_type(self, input: Option<PrincipalType>) -> Self
pub fn set_principal_type(self, input: Option<PrincipalType>) -> Self
The entity type for which the assignment will be created.
sourcepub fn get_principal_type(&self) -> &Option<PrincipalType>
pub fn get_principal_type(&self) -> &Option<PrincipalType>
The entity type for which the assignment will be created.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn build(self) -> AccountAssignment
pub fn build(self) -> AccountAssignment
Consumes the builder and constructs a AccountAssignment
.
Trait Implementations§
source§impl Clone for AccountAssignmentBuilder
impl Clone for AccountAssignmentBuilder
source§fn clone(&self) -> AccountAssignmentBuilder
fn clone(&self) -> AccountAssignmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccountAssignmentBuilder
impl Debug for AccountAssignmentBuilder
source§impl Default for AccountAssignmentBuilder
impl Default for AccountAssignmentBuilder
source§fn default() -> AccountAssignmentBuilder
fn default() -> AccountAssignmentBuilder
source§impl PartialEq for AccountAssignmentBuilder
impl PartialEq for AccountAssignmentBuilder
source§fn eq(&self, other: &AccountAssignmentBuilder) -> bool
fn eq(&self, other: &AccountAssignmentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountAssignmentBuilder
Auto Trait Implementations§
impl Freeze for AccountAssignmentBuilder
impl RefUnwindSafe for AccountAssignmentBuilder
impl Send for AccountAssignmentBuilder
impl Sync for AccountAssignmentBuilder
impl Unpin for AccountAssignmentBuilder
impl UnwindSafe for AccountAssignmentBuilder
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