Struct aws_sdk_sso::model::account_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AccountInfo
.
Implementations§
source§impl Builder
impl Builder
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 that is assigned to the user.
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 that is assigned to the user.
sourcepub fn account_name(self, input: impl Into<String>) -> Self
pub fn account_name(self, input: impl Into<String>) -> Self
The display name of the AWS account that is assigned to the user.
sourcepub fn set_account_name(self, input: Option<String>) -> Self
pub fn set_account_name(self, input: Option<String>) -> Self
The display name of the AWS account that is assigned to the user.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address of the AWS account that is assigned to the user.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address of the AWS account that is assigned to the user.
sourcepub fn build(self) -> AccountInfo
pub fn build(self) -> AccountInfo
Consumes the builder and constructs a AccountInfo
.