Interface CreateSlackChannelConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChatbotRequest.Builder
,CopyableBuilder<CreateSlackChannelConfigurationRequest.Builder,
,CreateSlackChannelConfigurationRequest> SdkBuilder<CreateSlackChannelConfigurationRequest.Builder,
,CreateSlackChannelConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSlackChannelConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationName
(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) A user-defined role that AWS Chatbot assumes.loggingLevel
(String loggingLevel) Logging levels includeERROR
,INFO
, orNONE
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.slackChannelId
(String slackChannelId) The ID of the Slack channel.slackChannelName
(String slackChannelName) The name of the Slack channel.slackTeamId
(String slackTeamId) The ID of the Slack workspace authorized with AWS Chatbot.snsTopicArns
(String... snsTopicArns) The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.snsTopicArns
(Collection<String> snsTopicArns) The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.tags
(Collection<Tag> tags) A map of tags assigned to a resource.tags
(Consumer<Tag.Builder>... tags) A map of tags assigned to a resource.A map of tags assigned to a resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
slackTeamId
The ID of the Slack workspace authorized with AWS Chatbot.
- Parameters:
slackTeamId
- The ID of the Slack workspace authorized with AWS Chatbot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackChannelId
The ID of the Slack channel.
To get this ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
- Parameters:
slackChannelId
- The ID of the Slack channel.To get this ID, open Slack, right click on the channel name in the left pane, then choose Copy Link. The channel ID is the 9-character string at the end of the URL. For example, ABCBBLZZZ.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackChannelName
The name of the Slack channel.
- Parameters:
slackChannelName
- The name of the Slack channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.
-
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.
-
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
, orNONE
.- Parameters:
loggingLevel
- Logging levels includeERROR
,INFO
, orNONE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailPolicyArns
CreateSlackChannelConfigurationRequest.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 managedAdministratorAccess
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
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 managedAdministratorAccess
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
CreateSlackChannelConfigurationRequest.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 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
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
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.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
CreateSlackChannelConfigurationRequest.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
CreateSlackChannelConfigurationRequest.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.
-