Interface SlackChannelConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SlackChannelConfiguration.Builder,,- SlackChannelConfiguration> - SdkBuilder<SlackChannelConfiguration.Builder,,- SlackChannelConfiguration> - SdkPojo
- Enclosing class:
- SlackChannelConfiguration
- 
Method SummaryModifier and TypeMethodDescriptionchatConfigurationArn(String chatConfigurationArn) The Amazon Resource Name (ARN) of the SlackChannelConfiguration.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) A user-defined role that AWS Chatbot assumes.loggingLevel(String loggingLevel) Logging levels includeERROR,INFO, orNONE.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 Amazon Chime.slackTeamName(String slackTeamName) Name of the Slack workspace.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.EitherENABLEDorDISABLED.stateReason(String stateReason) Provided if State isDISABLED.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.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
slackTeamNameName of the Slack workspace. - Parameters:
- slackTeamName- Name of the Slack workspace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
slackTeamIdThe ID of the Slack workspace authorized with Amazon Chime. - Parameters:
- slackTeamId- The ID of the Slack workspace authorized with Amazon Chime.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
slackChannelIdThe 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.
 
- 
slackChannelNameThe 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.
 
- 
chatConfigurationArnThe Amazon Resource Name (ARN) of the SlackChannelConfiguration. - Parameters:
- chatConfigurationArn- The Amazon Resource Name (ARN) of the SlackChannelConfiguration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iamRoleArnA 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.
 
- 
snsTopicArnsThe 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.
 
- 
snsTopicArnsThe 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.
 
- 
configurationNameThe 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.
 
- 
loggingLevelLogging levels include ERROR,INFO, orNONE.- Parameters:
- loggingLevel- Logging levels include- ERROR,- INFO, or- NONE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
guardrailPolicyArnsThe 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 managed- AdministratorAccesspolicy is applied by default if this is not set.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
guardrailPolicyArnsThe 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 managed- AdministratorAccesspolicy is applied by default if this is not set.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userAuthorizationRequiredEnables 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.
 
- 
tagsA 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.
 
- 
tagsA 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.
 
- 
tagsA 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 totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stateEither ENABLEDorDISABLED. The resource returnsDISABLEDif the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Parameters:
- state- Either- ENABLEDor- DISABLED. The resource returns- DISABLEDif 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.
 
- 
stateReasonProvided if State is DISABLED. Provides context as to why the resource is disabled.- Parameters:
- stateReason- Provided if State is- DISABLED. Provides context as to why the resource is disabled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-