public TeamsChannelConfiguration withIamRoleArn(String iamRoleArn) {
        setIamRoleArn(iamRoleArn);
        return this;
    }
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.

@param 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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chatbot/src/main/java/com/amazonaws/services/chatbot/model/TeamsChannelConfiguration.java