@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TeamsUserIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
TeamsUserIdentity() |
Modifier and Type | Method and Description |
---|---|
TeamsUserIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getAwsUserIdentity()
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
|
String |
getChatConfigurationArn()
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
|
String |
getIamRoleArn()
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
String |
getTeamId()
The ID of the Microsoft Team authorized with AWS Chatbot.
|
String |
getTeamsChannelId()
The ID of the Microsoft Teams channel.
|
String |
getTeamsTenantId()
The ID of the Microsoft Teams tenant.
|
String |
getUserId()
Id from Microsoft Teams for user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsUserIdentity(String awsUserIdentity)
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
|
void |
setChatConfigurationArn(String chatConfigurationArn)
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
void |
setTeamId(String teamId)
The ID of the Microsoft Team authorized with AWS Chatbot.
|
void |
setTeamsChannelId(String teamsChannelId)
The ID of the Microsoft Teams channel.
|
void |
setTeamsTenantId(String teamsTenantId)
The ID of the Microsoft Teams tenant.
|
void |
setUserId(String userId)
Id from Microsoft Teams for user.
|
String |
toString()
Returns a string representation of this object.
|
TeamsUserIdentity |
withAwsUserIdentity(String awsUserIdentity)
The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.
|
TeamsUserIdentity |
withChatConfigurationArn(String chatConfigurationArn)
The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.
|
TeamsUserIdentity |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
TeamsUserIdentity |
withTeamId(String teamId)
The ID of the Microsoft Team authorized with AWS Chatbot.
|
TeamsUserIdentity |
withTeamsChannelId(String teamsChannelId)
The ID of the Microsoft Teams channel.
|
TeamsUserIdentity |
withTeamsTenantId(String teamsTenantId)
The ID of the Microsoft Teams tenant.
|
TeamsUserIdentity |
withUserId(String userId)
Id from Microsoft Teams for user.
|
public void setIamRoleArn(String iamRoleArn)
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.public String getIamRoleArn()
public TeamsUserIdentity withIamRoleArn(String iamRoleArn)
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.public void setChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.public String getChatConfigurationArn()
public TeamsUserIdentity withChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the MicrosoftTeamsChannelConfiguration associated with the user identity.public void setTeamId(String teamId)
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.public String getTeamId()
public TeamsUserIdentity withTeamId(String teamId)
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.public void setUserId(String userId)
userId
- Id from Microsoft Teams for user.public String getUserId()
public TeamsUserIdentity withUserId(String userId)
userId
- Id from Microsoft Teams for user.public void setAwsUserIdentity(String awsUserIdentity)
awsUserIdentity
- The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.public String getAwsUserIdentity()
public TeamsUserIdentity withAwsUserIdentity(String awsUserIdentity)
awsUserIdentity
- The AWS user identity ARN used to associate a Microsoft Teams User Identity with an IAM Role.public void setTeamsChannelId(String teamsChannelId)
teamsChannelId
- The ID of the Microsoft Teams channel.public String getTeamsChannelId()
public TeamsUserIdentity withTeamsChannelId(String teamsChannelId)
teamsChannelId
- The ID of the Microsoft Teams channel.public void setTeamsTenantId(String teamsTenantId)
teamsTenantId
- The ID of the Microsoft Teams tenant.public String getTeamsTenantId()
public TeamsUserIdentity withTeamsTenantId(String teamsTenantId)
teamsTenantId
- The ID of the Microsoft Teams tenant.public String toString()
toString
in class Object
Object.toString()
public TeamsUserIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.