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 AWS 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 AWS 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 AWS Service Namespaces in the AWS 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 AWS Service Namespaces in the AWS 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 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 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<AccountAssignmentBuilder> for AccountAssignmentBuilder
impl PartialEq<AccountAssignmentBuilder> 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 ==.