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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChimeWebhookConfiguration.BuilderchatConfigurationArn(String chatConfigurationArn)The ARN of the ChimeWebhookConfiguration.ChimeWebhookConfiguration.BuilderconfigurationName(String configurationName)The name of the configuration.ChimeWebhookConfiguration.BuilderiamRoleArn(String iamRoleArn)The ARN of the IAM role that defines the permissions for AWS Chatbot.ChimeWebhookConfiguration.BuilderloggingLevel(String loggingLevel)Specifies the logging level for this configuration.ChimeWebhookConfiguration.BuildersnsTopicArns(String... snsTopicArns)The ARNs of the SNS topics that deliver notifications to AWS Chatbot.ChimeWebhookConfiguration.BuildersnsTopicArns(Collection<String> snsTopicArns)The ARNs of the SNS topics that deliver notifications to AWS Chatbot.ChimeWebhookConfiguration.Buildertags(Collection<Tag> tags)A list of tags applied to the configuration.ChimeWebhookConfiguration.Buildertags(Consumer<Tag.Builder>... tags)A list of tags applied to the configuration.ChimeWebhookConfiguration.Buildertags(Tag... tags)A list of tags applied to the configuration.ChimeWebhookConfiguration.BuilderwebhookDescription(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 Detail
-
webhookDescription
ChimeWebhookConfiguration.Builder webhookDescription(String 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
ChimeWebhookConfiguration.Builder chatConfigurationArn(String 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
ChimeWebhookConfiguration.Builder iamRoleArn(String 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
ChimeWebhookConfiguration.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
ChimeWebhookConfiguration.Builder snsTopicArns(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.
-
configurationName
ChimeWebhookConfiguration.Builder configurationName(String 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
ChimeWebhookConfiguration.Builder loggingLevel(String 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
ChimeWebhookConfiguration.Builder tags(Collection<Tag> 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
ChimeWebhookConfiguration.Builder tags(Tag... 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
ChimeWebhookConfiguration.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags applied to the configuration. 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-