Class MessageTemplateVersionSummary

    • Method Detail

      • channelSubtypeAsString

        public final String channelSubtypeAsString()

        The channel subtype this message template applies to.

        If the service returns an enum value that is not available in the current SDK version, channelSubtype will return ChannelSubtype.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from channelSubtypeAsString().

        Returns:
        The channel subtype this message template applies to.
        See Also:
        ChannelSubtype
      • isActive

        public final Boolean isActive()

        Whether the version of the message template is activated.

        Returns:
        Whether the version of the message template is activated.
      • knowledgeBaseArn

        public final String knowledgeBaseArn()

        The Amazon Resource Name (ARN) of the knowledge base.

        Returns:
        The Amazon Resource Name (ARN) of the knowledge base.
      • knowledgeBaseId

        public final String knowledgeBaseId()

        The identifier of the knowledge base.

        Returns:
        The identifier of the knowledge base.
      • messageTemplateArn

        public final String messageTemplateArn()

        The Amazon Resource Name (ARN) of the message template.

        Returns:
        The Amazon Resource Name (ARN) of the message template.
      • messageTemplateId

        public final String messageTemplateId()

        The identifier of the message template.

        Returns:
        The identifier of the message template.
      • name

        public final String name()

        The name of the message template.

        Returns:
        The name of the message template.
      • versionNumber

        public final Long versionNumber()

        The version number of the message template version.

        Returns:
        The version number of the message template version.
      • 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)