Interface ChimeWebhookConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChimeWebhookConfiguration.Builder,
,ChimeWebhookConfiguration> SdkBuilder<ChimeWebhookConfiguration.Builder,
,ChimeWebhookConfiguration> SdkPojo
- Enclosing class:
ChimeWebhookConfiguration
public static interface ChimeWebhookConfiguration.Builder
extends SdkPojo, CopyableBuilder<ChimeWebhookConfiguration.Builder,ChimeWebhookConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionchatConfigurationArn
(String chatConfigurationArn) The ARN of the ChimeWebhookConfiguration.configurationName
(String configurationName) The name of the configuration.iamRoleArn
(String iamRoleArn) The ARN of the IAM role that defines the permissions for AWS Chatbot.loggingLevel
(String loggingLevel) Specifies the logging level for this 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 applied to the configuration.tags
(Consumer<Tag.Builder>... tags) A list of tags applied to the configuration.A list of tags applied to the configuration.webhookDescription
(String webhookDescription) Description of the webhook.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
-
webhookDescription
Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.- Parameters:
webhookDescription
- Description of the webhook. Recommend using the convention `RoomName/WebhookName`. See Chime setup tutorial for more details: https://docs.aws.amazon.com/chatbot/latest/adminguide/chime-setup.html.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatConfigurationArn
The ARN of the ChimeWebhookConfiguration.- Parameters:
chatConfigurationArn
- The ARN of the ChimeWebhookConfiguration.- 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.
-
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.
-
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
Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.- Parameters:
loggingLevel
- Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO, or NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags applied to the configuration.- Parameters:
tags
- A list of tags applied to the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags applied to the configuration.- Parameters:
tags
- A list of tags applied to the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags applied 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:
-