@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TeamsChannelConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
TeamsChannelConfiguration() |
Modifier and Type | Method and Description |
---|---|
TeamsChannelConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getChannelId()
The ID of the Microsoft Teams channel.
|
String |
getChannelName()
The name of the Microsoft Teams channel.
|
String |
getChatConfigurationArn()
The ARN of the MicrosoftTeamsChannelConfiguration.
|
String |
getConfigurationName()
The name of the configuration.
|
List<String> |
getGuardrailPolicyArns()
The list of IAM policy ARNs that are applied as channel guardrails.
|
String |
getIamRoleArn()
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
String |
getLoggingLevel()
Logging levels include ERROR, INFO, or NONE.
|
List<String> |
getSnsTopicArns()
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
List<Tag> |
getTags()
A list of tags applied to the configuration.
|
String |
getTeamId()
The ID of the Microsoft Team authorized with AWS Chatbot.
|
String |
getTeamName()
The name of the Microsoft Teams Team.
|
String |
getTenantId()
The ID of the Microsoft Teams tenant.
|
Boolean |
getUserAuthorizationRequired()
Enables use of a user role requirement in your chat configuration.
|
int |
hashCode() |
Boolean |
isUserAuthorizationRequired()
Enables use of a user role requirement in your chat configuration.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelId(String channelId)
The ID of the Microsoft Teams channel.
|
void |
setChannelName(String channelName)
The name of the Microsoft Teams channel.
|
void |
setChatConfigurationArn(String chatConfigurationArn)
The ARN of the MicrosoftTeamsChannelConfiguration.
|
void |
setConfigurationName(String configurationName)
The name of the configuration.
|
void |
setGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
The list of IAM policy ARNs that are applied as channel guardrails.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
void |
setLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
void |
setSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
void |
setTags(Collection<Tag> tags)
A list of tags applied to the configuration.
|
void |
setTeamId(String teamId)
The ID of the Microsoft Team authorized with AWS Chatbot.
|
void |
setTeamName(String teamName)
The name of the Microsoft Teams Team.
|
void |
setTenantId(String tenantId)
The ID of the Microsoft Teams tenant.
|
void |
setUserAuthorizationRequired(Boolean userAuthorizationRequired)
Enables use of a user role requirement in your chat configuration.
|
String |
toString()
Returns a string representation of this object.
|
TeamsChannelConfiguration |
withChannelId(String channelId)
The ID of the Microsoft Teams channel.
|
TeamsChannelConfiguration |
withChannelName(String channelName)
The name of the Microsoft Teams channel.
|
TeamsChannelConfiguration |
withChatConfigurationArn(String chatConfigurationArn)
The ARN of the MicrosoftTeamsChannelConfiguration.
|
TeamsChannelConfiguration |
withConfigurationName(String configurationName)
The name of the configuration.
|
TeamsChannelConfiguration |
withGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
The list of IAM policy ARNs that are applied as channel guardrails.
|
TeamsChannelConfiguration |
withGuardrailPolicyArns(String... guardrailPolicyArns)
The list of IAM policy ARNs that are applied as channel guardrails.
|
TeamsChannelConfiguration |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role that defines the permissions for AWS Chatbot.
|
TeamsChannelConfiguration |
withLoggingLevel(String loggingLevel)
Logging levels include ERROR, INFO, or NONE.
|
TeamsChannelConfiguration |
withSnsTopicArns(Collection<String> snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
TeamsChannelConfiguration |
withSnsTopicArns(String... snsTopicArns)
The ARNs of the SNS topics that deliver notifications to AWS Chatbot.
|
TeamsChannelConfiguration |
withTags(Collection<Tag> tags)
A list of tags applied to the configuration.
|
TeamsChannelConfiguration |
withTags(Tag... tags)
A list of tags applied to the configuration.
|
TeamsChannelConfiguration |
withTeamId(String teamId)
The ID of the Microsoft Team authorized with AWS Chatbot.
|
TeamsChannelConfiguration |
withTeamName(String teamName)
The name of the Microsoft Teams Team.
|
TeamsChannelConfiguration |
withTenantId(String tenantId)
The ID of the Microsoft Teams tenant.
|
TeamsChannelConfiguration |
withUserAuthorizationRequired(Boolean userAuthorizationRequired)
Enables use of a user role requirement in your chat configuration.
|
public void setChannelId(String channelId)
channelId
- The ID of the Microsoft Teams channel.public String getChannelId()
public TeamsChannelConfiguration withChannelId(String channelId)
channelId
- The ID of the Microsoft Teams channel.public void setChannelName(String channelName)
channelName
- The name of the Microsoft Teams channel.public String getChannelName()
public TeamsChannelConfiguration withChannelName(String channelName)
channelName
- The name of the Microsoft Teams channel.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 TeamsChannelConfiguration 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 setTeamName(String teamName)
teamName
- The name of the Microsoft Teams Team.public String getTeamName()
public TeamsChannelConfiguration withTeamName(String teamName)
teamName
- The name of the Microsoft Teams Team.public void setTenantId(String tenantId)
tenantId
- The ID of the Microsoft Teams tenant.public String getTenantId()
public TeamsChannelConfiguration withTenantId(String tenantId)
tenantId
- The ID of the Microsoft Teams tenant.public void setChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the MicrosoftTeamsChannelConfiguration.public String getChatConfigurationArn()
public TeamsChannelConfiguration withChatConfigurationArn(String chatConfigurationArn)
chatConfigurationArn
- The ARN of the MicrosoftTeamsChannelConfiguration.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 TeamsChannelConfiguration 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 List<String> getSnsTopicArns()
public void setSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public TeamsChannelConfiguration withSnsTopicArns(String... snsTopicArns)
NOTE: This method appends the values to the existing list (if any). Use
setSnsTopicArns(java.util.Collection)
or withSnsTopicArns(java.util.Collection)
if you want to
override the existing values.
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public TeamsChannelConfiguration withSnsTopicArns(Collection<String> snsTopicArns)
snsTopicArns
- The ARNs of the SNS topics that deliver notifications to AWS Chatbot.public void setConfigurationName(String configurationName)
configurationName
- The name of the configuration.public String getConfigurationName()
public TeamsChannelConfiguration withConfigurationName(String configurationName)
configurationName
- The name of the configuration.public void setLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public String getLoggingLevel()
public TeamsChannelConfiguration withLoggingLevel(String loggingLevel)
loggingLevel
- Logging levels include ERROR, INFO, or NONE.public List<String> getGuardrailPolicyArns()
public void setGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
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.public TeamsChannelConfiguration withGuardrailPolicyArns(String... guardrailPolicyArns)
NOTE: This method appends the values to the existing list (if any). Use
setGuardrailPolicyArns(java.util.Collection)
or withGuardrailPolicyArns(java.util.Collection)
if you want to override the existing values.
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.public TeamsChannelConfiguration withGuardrailPolicyArns(Collection<String> guardrailPolicyArns)
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.public void setUserAuthorizationRequired(Boolean userAuthorizationRequired)
userAuthorizationRequired
- Enables use of a user role requirement in your chat configuration.public Boolean getUserAuthorizationRequired()
public TeamsChannelConfiguration withUserAuthorizationRequired(Boolean userAuthorizationRequired)
userAuthorizationRequired
- Enables use of a user role requirement in your chat configuration.public Boolean isUserAuthorizationRequired()
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- A list of tags applied to the configuration.public TeamsChannelConfiguration withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags applied to the configuration.public TeamsChannelConfiguration withTags(Collection<Tag> tags)
tags
- A list of tags applied to the configuration.public String toString()
toString
in class Object
Object.toString()
public TeamsChannelConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.