Interface UpdateSlackChannelConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChatbotRequest.Builder,CopyableBuilder<UpdateSlackChannelConfigurationRequest.Builder,UpdateSlackChannelConfigurationRequest>,SdkBuilder<UpdateSlackChannelConfigurationRequest.Builder,UpdateSlackChannelConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSlackChannelConfigurationRequest
public static interface UpdateSlackChannelConfigurationRequest.Builder extends ChatbotRequest.Builder, SdkPojo, CopyableBuilder<UpdateSlackChannelConfigurationRequest.Builder,UpdateSlackChannelConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateSlackChannelConfigurationRequest.BuilderchatConfigurationArn(String chatConfigurationArn)The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.UpdateSlackChannelConfigurationRequest.BuilderguardrailPolicyArns(String... guardrailPolicyArns)The list of IAM policy ARNs that are applied as channel guardrails.UpdateSlackChannelConfigurationRequest.BuilderguardrailPolicyArns(Collection<String> guardrailPolicyArns)The list of IAM policy ARNs that are applied as channel guardrails.UpdateSlackChannelConfigurationRequest.BuilderiamRoleArn(String iamRoleArn)A user-defined role that AWS Chatbot assumes.UpdateSlackChannelConfigurationRequest.BuilderloggingLevel(String loggingLevel)Logging levels includeERROR,INFO, orNONE.UpdateSlackChannelConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSlackChannelConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSlackChannelConfigurationRequest.BuilderslackChannelId(String slackChannelId)The ID of the Slack channel.UpdateSlackChannelConfigurationRequest.BuilderslackChannelName(String slackChannelName)The name of the Slack channel.UpdateSlackChannelConfigurationRequest.BuildersnsTopicArns(String... snsTopicArns)The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.UpdateSlackChannelConfigurationRequest.BuildersnsTopicArns(Collection<String> snsTopicArns)The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.UpdateSlackChannelConfigurationRequest.BuilderuserAuthorizationRequired(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 Detail
-
chatConfigurationArn
UpdateSlackChannelConfigurationRequest.Builder chatConfigurationArn(String chatConfigurationArn)
The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.
- Parameters:
chatConfigurationArn- The Amazon Resource Name (ARN) of the SlackChannelConfiguration to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackChannelId
UpdateSlackChannelConfigurationRequest.Builder slackChannelId(String 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
UpdateSlackChannelConfigurationRequest.Builder slackChannelName(String 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
UpdateSlackChannelConfigurationRequest.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
UpdateSlackChannelConfigurationRequest.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.
-
iamRoleArn
UpdateSlackChannelConfigurationRequest.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.
-
loggingLevel
UpdateSlackChannelConfigurationRequest.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
UpdateSlackChannelConfigurationRequest.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
UpdateSlackChannelConfigurationRequest.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
UpdateSlackChannelConfigurationRequest.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.
-
overrideConfiguration
UpdateSlackChannelConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSlackChannelConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-