Interface CreateChimeWebhookConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChatbotRequest.Builder,CopyableBuilder<CreateChimeWebhookConfigurationRequest.Builder,CreateChimeWebhookConfigurationRequest>,SdkBuilder<CreateChimeWebhookConfigurationRequest.Builder,CreateChimeWebhookConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChimeWebhookConfigurationRequest
public static interface CreateChimeWebhookConfigurationRequest.Builder extends ChatbotRequest.Builder, SdkPojo, CopyableBuilder<CreateChimeWebhookConfigurationRequest.Builder,CreateChimeWebhookConfigurationRequest>
-
-
Method Summary
-
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
-
webhookDescription
CreateChimeWebhookConfigurationRequest.Builder webhookDescription(String webhookDescription)
A description of the webhook. We recommend using the convention
RoomName/WebhookName.For more information, see Tutorial: Get started with Amazon Chime in the AWS Chatbot Administrator Guide.
- Parameters:
webhookDescription- A description of the webhook. We recommend using the conventionRoomName/WebhookName.For more information, see Tutorial: Get started with Amazon Chime in the AWS Chatbot Administrator Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhookUrl
CreateChimeWebhookConfigurationRequest.Builder webhookUrl(String webhookUrl)
The URL for the Amazon Chime webhook.
- Parameters:
webhookUrl- The URL for the Amazon Chime webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArns
CreateChimeWebhookConfigurationRequest.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
CreateChimeWebhookConfigurationRequest.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
CreateChimeWebhookConfigurationRequest.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.
-
configurationName
CreateChimeWebhookConfigurationRequest.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
CreateChimeWebhookConfigurationRequest.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.
-
tags
CreateChimeWebhookConfigurationRequest.Builder tags(Collection<Tag> 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
CreateChimeWebhookConfigurationRequest.Builder tags(Tag... 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
CreateChimeWebhookConfigurationRequest.Builder tags(Consumer<Tag.Builder>... 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.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)
-
overrideConfiguration
CreateChimeWebhookConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChimeWebhookConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-