Class ChimeWebhookConfiguration

    • Method Detail

      • webhookDescription

        public final 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.

        Returns:
        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.

      • chatConfigurationArn

        public final String chatConfigurationArn()

        The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.

        Returns:
        The Amazon Resource Name (ARN) of the ChimeWebhookConfiguration.
      • iamRoleArn

        public final 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.

        Returns:
        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.

      • hasSnsTopicArns

        public final boolean hasSnsTopicArns()
        For responses, this returns true if the service returned a value for the SnsTopicArns property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • snsTopicArns

        public final List<String> snsTopicArns()

        The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSnsTopicArns() method.

        Returns:
        The Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
      • configurationName

        public final String configurationName()

        The name of the configuration.

        Returns:
        The name of the configuration.
      • loggingLevel

        public final String loggingLevel()

        Logging levels include ERROR, INFO, or NONE.

        Returns:
        Logging levels include ERROR, INFO, or NONE.
      • hasTags

        public final boolean hasTags()
        For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • tags

        public final List<Tag> tags()

        A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTags() method.

        Returns:
        A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
      • state

        public final String state()

        Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.

        Returns:
        Either ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.
      • stateReason

        public final String stateReason()

        Provided if State is DISABLED. Provides context as to why the resource is disabled.

        Returns:
        Provided if State is DISABLED. Provides context as to why the resource is disabled.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)