Interface TeamsChannelConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TeamsChannelConfiguration.Builder,TeamsChannelConfiguration>,SdkBuilder<TeamsChannelConfiguration.Builder,TeamsChannelConfiguration>,SdkPojo
- Enclosing class:
- TeamsChannelConfiguration
public static interface TeamsChannelConfiguration.Builder extends SdkPojo, CopyableBuilder<TeamsChannelConfiguration.Builder,TeamsChannelConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TeamsChannelConfiguration.BuilderchannelId(String channelId)The ID of the Microsoft Teams channel.TeamsChannelConfiguration.BuilderchannelName(String channelName)The name of the Microsoft Teams channel.TeamsChannelConfiguration.BuilderchatConfigurationArn(String chatConfigurationArn)The Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.TeamsChannelConfiguration.BuilderconfigurationName(String configurationName)The name of the configuration.TeamsChannelConfiguration.BuilderguardrailPolicyArns(String... guardrailPolicyArns)The list of IAM policy ARNs that are applied as channel guardrails.TeamsChannelConfiguration.BuilderguardrailPolicyArns(Collection<String> guardrailPolicyArns)The list of IAM policy ARNs that are applied as channel guardrails.TeamsChannelConfiguration.BuilderiamRoleArn(String iamRoleArn)A user-defined role that AWS Chatbot assumes.TeamsChannelConfiguration.BuilderloggingLevel(String loggingLevel)Logging levels includeERROR,INFO, orNONE.TeamsChannelConfiguration.BuildersnsTopicArns(String... snsTopicArns)The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.TeamsChannelConfiguration.BuildersnsTopicArns(Collection<String> snsTopicArns)The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.TeamsChannelConfiguration.Builderstate(String state)EitherENABLEDorDISABLED.TeamsChannelConfiguration.BuilderstateReason(String stateReason)Provided if State isDISABLED.TeamsChannelConfiguration.Buildertags(Collection<Tag> tags)A map of tags assigned to a resource.TeamsChannelConfiguration.Buildertags(Consumer<Tag.Builder>... tags)A map of tags assigned to a resource.TeamsChannelConfiguration.Buildertags(Tag... tags)A map of tags assigned to a resource.TeamsChannelConfiguration.BuilderteamId(String teamId)The ID of the Microsoft Teams authorized with AWS Chatbot.TeamsChannelConfiguration.BuilderteamName(String teamName)The name of the Microsoft Teams Team.TeamsChannelConfiguration.BuildertenantId(String tenantId)The ID of the Microsoft Teams tenant.TeamsChannelConfiguration.BuilderuserAuthorizationRequired(Boolean userAuthorizationRequired)Enables use of a user role requirement in your chat configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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 Teams 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 information, see Step 1: Configure a Microsoft Teams client in the AWS Chatbot Administrator Guide.
- Parameters:
teamId- The ID of the Microsoft Teams 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 information, see Step 1: Configure a Microsoft Teams client 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 Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.
- Parameters:
chatConfigurationArn- The Amazon Resource Name (ARN) of the MicrosoftTeamsChannelConfiguration associated with the user identity to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
TeamsChannelConfiguration.Builder iamRoleArn(String iamRoleArn)
A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
- Parameters:
iamRoleArn- A user-defined role that AWS Chatbot assumes. This is not the service-linked role.For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArns
TeamsChannelConfiguration.Builder snsTopicArns(Collection<String> snsTopicArns)
The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
- Parameters:
snsTopicArns- The Amazon Resource Names (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 Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
- Parameters:
snsTopicArns- The Amazon Resource Names (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, orNONE.- Parameters:
loggingLevel- Logging levels includeERROR,INFO, orNONE.- 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
AdministratorAccesspolicy 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 managedAdministratorAccesspolicy 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
AdministratorAccesspolicy 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 managedAdministratorAccesspolicy 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.
-
tags
TeamsChannelConfiguration.Builder tags(Collection<Tag> tags)
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
- Parameters:
tags- A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TeamsChannelConfiguration.Builder tags(Tag... tags)
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
- Parameters:
tags- A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TeamsChannelConfiguration.Builder tags(Consumer<Tag.Builder>... tags)
A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
state
TeamsChannelConfiguration.Builder state(String state)
Either
ENABLEDorDISABLED. The resource returnsDISABLEDif the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Parameters:
state- EitherENABLEDorDISABLED. The resource returnsDISABLEDif the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
TeamsChannelConfiguration.Builder stateReason(String stateReason)
Provided if State is
DISABLED. Provides context as to why the resource is disabled.- Parameters:
stateReason- Provided if State isDISABLED. Provides context as to why the resource is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-