Interface CreateMicrosoftTeamsChannelConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChatbotRequest.Builder
,CopyableBuilder<CreateMicrosoftTeamsChannelConfigurationRequest.Builder,
,CreateMicrosoftTeamsChannelConfigurationRequest> SdkBuilder<CreateMicrosoftTeamsChannelConfigurationRequest.Builder,
,CreateMicrosoftTeamsChannelConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMicrosoftTeamsChannelConfigurationRequest
public static interface CreateMicrosoftTeamsChannelConfigurationRequest.Builder
extends ChatbotRequest.Builder, SdkPojo, CopyableBuilder<CreateMicrosoftTeamsChannelConfigurationRequest.Builder,CreateMicrosoftTeamsChannelConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Microsoft Teams channel.channelName
(String channelName) The name of the Microsoft Teams channel.configurationName
(String configurationName) The name of the configuration.guardrailPolicyArns
(String... guardrailPolicyArns) The list of IAM policy ARNs that are applied as channel guardrails.guardrailPolicyArns
(Collection<String> guardrailPolicyArns) The list of IAM policy ARNs that are applied as channel guardrails.iamRoleArn
(String iamRoleArn) The ARN of the IAM role that defines the permissions for AWS Chatbot.loggingLevel
(String loggingLevel) Logging levels include ERROR, INFO, or NONE.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snsTopicArns
(String... snsTopicArns) The ARNs of the SNS topics that deliver notifications to AWS Chatbot.snsTopicArns
(Collection<String> snsTopicArns) The ARNs of the SNS topics that deliver notifications to AWS Chatbot.tags
(Collection<Tag> tags) A list of tags to apply to the configuration.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the configuration.A list of tags to apply to the configuration.The ID of the Microsoft Team authorized with AWS Chatbot.The name of the Microsoft Teams Team.The ID of the Microsoft Teams tenant.userAuthorizationRequired
(Boolean userAuthorizationRequired) Enables use of a user role requirement in your chat configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotRequest.Builder
build
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, sdkFields
-
Method Details
-
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
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
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
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
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.
-
snsTopicArns
CreateMicrosoftTeamsChannelConfigurationRequest.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
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.
-
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.
-
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
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
CreateMicrosoftTeamsChannelConfigurationRequest.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
CreateMicrosoftTeamsChannelConfigurationRequest.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
CreateMicrosoftTeamsChannelConfigurationRequest.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
A list of tags to apply to the configuration.- Parameters:
tags
- A list of tags to apply to the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the configuration.- Parameters:
tags
- A list of tags to apply to the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the configuration. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
overrideConfiguration
CreateMicrosoftTeamsChannelConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMicrosoftTeamsChannelConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-