Interface ChimeWebhookConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChimeWebhookConfiguration.Builder,
,ChimeWebhookConfiguration> SdkBuilder<ChimeWebhookConfiguration.Builder,
,ChimeWebhookConfiguration> SdkPojo
- Enclosing class:
ChimeWebhookConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionchatConfigurationArn
(String chatConfigurationArn) The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.configurationName
(String configurationName) The name of the configuration.iamRoleArn
(String iamRoleArn) A user-defined role that AWS Chatbot assumes.loggingLevel
(String loggingLevel) Logging levels includeERROR
,INFO
, orNONE
.snsTopicArns
(String... snsTopicArns) The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.snsTopicArns
(Collection<String> snsTopicArns) The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.EitherENABLED
orDISABLED
.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.webhookDescription
(String webhookDescription) A 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
chatConfigurationArn
The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.
- Parameters:
chatConfigurationArn
- The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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
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.
-
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
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
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
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
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.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:
-
state
Either
ENABLED
orDISABLED
. The resource returnsDISABLED
if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Parameters:
state
- EitherENABLED
orDISABLED
. The resource returnsDISABLED
if 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.
-
stateReason
Provided if State is
DISABLED
. Provides context as to why the resource is disabled.- Parameters:
stateReason
- Provided if State isDISABLED
. Provides context as to why the resource is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-