Interface TeamsChannelConfiguration.Builder

    • Method Detail

      • channelId

        TeamsChannelConfiguration.Builder channelId​(String channelId)
        The ID of the Microsoft Teams channel.
        Parameters:
        channelId - The ID of the Microsoft Teams channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelName

        TeamsChannelConfiguration.Builder channelName​(String channelName)
        The name of the Microsoft Teams channel.
        Parameters:
        channelName - The name of the Microsoft Teams channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • teamId

        TeamsChannelConfiguration.Builder teamId​(String teamId)
        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.
        Parameters:
        teamId - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • teamName

        TeamsChannelConfiguration.Builder teamName​(String teamName)
        The name of the Microsoft Teams Team.
        Parameters:
        teamName - The name of the Microsoft Teams Team.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tenantId

        TeamsChannelConfiguration.Builder tenantId​(String tenantId)
        The ID of the Microsoft Teams tenant.
        Parameters:
        tenantId - The ID of the Microsoft Teams tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • chatConfigurationArn

        TeamsChannelConfiguration.Builder chatConfigurationArn​(String chatConfigurationArn)
        The ARN of the MicrosoftTeamsChannelConfiguration.
        Parameters:
        chatConfigurationArn - The ARN of the MicrosoftTeamsChannelConfiguration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamRoleArn

        TeamsChannelConfiguration.Builder iamRoleArn​(String iamRoleArn)
        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.
        Parameters:
        iamRoleArn - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicArns

        TeamsChannelConfiguration.Builder snsTopicArns​(Collection<String> snsTopicArns)
        The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
        Parameters:
        snsTopicArns - The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicArns

        TeamsChannelConfiguration.Builder snsTopicArns​(String... snsTopicArns)
        The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
        Parameters:
        snsTopicArns - The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationName

        TeamsChannelConfiguration.Builder configurationName​(String configurationName)
        The name of the configuration.
        Parameters:
        configurationName - The name of the configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • loggingLevel

        TeamsChannelConfiguration.Builder loggingLevel​(String loggingLevel)
        Logging levels include ERROR, INFO, or NONE.
        Parameters:
        loggingLevel - Logging levels include ERROR, INFO, or NONE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • guardrailPolicyArns

        TeamsChannelConfiguration.Builder guardrailPolicyArns​(Collection<String> guardrailPolicyArns)
        The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
        Parameters:
        guardrailPolicyArns - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • guardrailPolicyArns

        TeamsChannelConfiguration.Builder guardrailPolicyArns​(String... guardrailPolicyArns)
        The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
        Parameters:
        guardrailPolicyArns - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied by default if this is not set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userAuthorizationRequired

        TeamsChannelConfiguration.Builder userAuthorizationRequired​(Boolean userAuthorizationRequired)
        Enables use of a user role requirement in your chat configuration.
        Parameters:
        userAuthorizationRequired - Enables use of a user role requirement in your chat configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.