Interface ChimeWebhookConfiguration.Builder

    • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        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:
        #tags(java.util.Collection)