Struct aws_sdk_chatbot::types::builders::TeamsUserIdentityBuilder
source · #[non_exhaustive]pub struct TeamsUserIdentityBuilder { /* private fields */ }Expand description
A builder for TeamsUserIdentity.
Implementations§
source§impl TeamsUserIdentityBuilder
impl TeamsUserIdentityBuilder
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot. This field is required.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role. For more information, see IAM Policies for AWS Chatbot.
sourcepub fn chat_configuration_arn(self, input: impl Into<String>) -> Self
pub fn chat_configuration_arn(self, input: impl Into<String>) -> Self
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity. This field is required.
sourcepub fn set_chat_configuration_arn(self, input: Option<String>) -> Self
pub fn set_chat_configuration_arn(self, input: Option<String>) -> Self
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
sourcepub fn get_chat_configuration_arn(&self) -> &Option<String>
pub fn get_chat_configuration_arn(&self) -> &Option<String>
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
sourcepub fn team_id(self, input: impl Into<String>) -> Self
pub fn team_id(self, input: impl Into<String>) -> Self
The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide. This field is required.
sourcepub fn set_team_id(self, input: Option<String>) -> Self
pub fn set_team_id(self, input: Option<String>) -> Self
The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
sourcepub fn get_team_id(&self) -> &Option<String>
pub fn get_team_id(&self) -> &Option<String>
The ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console. For more details, see steps 1-4 in Get started with Microsoft Teams in the AWS Chatbot Administrator Guide.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
Id from Microsoft Teams for user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
Id from Microsoft Teams for user.
sourcepub fn aws_user_identity(self, input: impl Into<String>) -> Self
pub fn aws_user_identity(self, input: impl Into<String>) -> Self
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
sourcepub fn set_aws_user_identity(self, input: Option<String>) -> Self
pub fn set_aws_user_identity(self, input: Option<String>) -> Self
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
sourcepub fn get_aws_user_identity(&self) -> &Option<String>
pub fn get_aws_user_identity(&self) -> &Option<String>
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
sourcepub fn teams_channel_id(self, input: impl Into<String>) -> Self
pub fn teams_channel_id(self, input: impl Into<String>) -> Self
The ID of the Microsoft Teams channel.
sourcepub fn set_teams_channel_id(self, input: Option<String>) -> Self
pub fn set_teams_channel_id(self, input: Option<String>) -> Self
The ID of the Microsoft Teams channel.
sourcepub fn get_teams_channel_id(&self) -> &Option<String>
pub fn get_teams_channel_id(&self) -> &Option<String>
The ID of the Microsoft Teams channel.
sourcepub fn teams_tenant_id(self, input: impl Into<String>) -> Self
pub fn teams_tenant_id(self, input: impl Into<String>) -> Self
The ID of the Microsoft Teams tenant.
sourcepub fn set_teams_tenant_id(self, input: Option<String>) -> Self
pub fn set_teams_tenant_id(self, input: Option<String>) -> Self
The ID of the Microsoft Teams tenant.
sourcepub fn get_teams_tenant_id(&self) -> &Option<String>
pub fn get_teams_tenant_id(&self) -> &Option<String>
The ID of the Microsoft Teams tenant.
sourcepub fn build(self) -> Result<TeamsUserIdentity, BuildError>
pub fn build(self) -> Result<TeamsUserIdentity, BuildError>
Consumes the builder and constructs a TeamsUserIdentity.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TeamsUserIdentityBuilder
impl Clone for TeamsUserIdentityBuilder
source§fn clone(&self) -> TeamsUserIdentityBuilder
fn clone(&self) -> TeamsUserIdentityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TeamsUserIdentityBuilder
impl Debug for TeamsUserIdentityBuilder
source§impl Default for TeamsUserIdentityBuilder
impl Default for TeamsUserIdentityBuilder
source§fn default() -> TeamsUserIdentityBuilder
fn default() -> TeamsUserIdentityBuilder
source§impl PartialEq for TeamsUserIdentityBuilder
impl PartialEq for TeamsUserIdentityBuilder
source§fn eq(&self, other: &TeamsUserIdentityBuilder) -> bool
fn eq(&self, other: &TeamsUserIdentityBuilder) -> bool
self and other values to be equal, and is used
by ==.