Interface MessageTemplateSummary.Builder

  • Method Details

    • messageTemplateArn

      MessageTemplateSummary.Builder messageTemplateArn(String messageTemplateArn)

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

      Parameters:
      messageTemplateArn - The Amazon Resource Name (ARN) of the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageTemplateId

      MessageTemplateSummary.Builder messageTemplateId(String messageTemplateId)

      The identifier of the message template.

      Parameters:
      messageTemplateId - The identifier of the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • knowledgeBaseArn

      MessageTemplateSummary.Builder knowledgeBaseArn(String knowledgeBaseArn)

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

      Parameters:
      knowledgeBaseArn - The Amazon Resource Name (ARN) of the knowledge base.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • knowledgeBaseId

      MessageTemplateSummary.Builder knowledgeBaseId(String knowledgeBaseId)

      The identifier of the knowledge base.

      Parameters:
      knowledgeBaseId - The identifier of the knowledge base.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the message template.

      Parameters:
      name - The name of the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channel

      The channel this message template applies to.

      Parameters:
      channel - The channel this message template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelSubtype

      MessageTemplateSummary.Builder channelSubtype(String channelSubtype)

      The channel subtype this message template applies to.

      Parameters:
      channelSubtype - The channel subtype this message template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channelSubtype

      MessageTemplateSummary.Builder channelSubtype(ChannelSubtype channelSubtype)

      The channel subtype this message template applies to.

      Parameters:
      channelSubtype - The channel subtype this message template applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTime

      MessageTemplateSummary.Builder createdTime(Instant createdTime)

      The timestamp when the message template was created.

      Parameters:
      createdTime - The timestamp when the message template was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      MessageTemplateSummary.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp when the message template data was last modified.

      Parameters:
      lastModifiedTime - The timestamp when the message template data was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedBy

      MessageTemplateSummary.Builder lastModifiedBy(String lastModifiedBy)

      The Amazon Resource Name (ARN) of the user who last updated the message template data.

      Parameters:
      lastModifiedBy - The Amazon Resource Name (ARN) of the user who last updated the message template data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceConfiguration

      MessageTemplateSummary.Builder sourceConfiguration(MessageTemplateSourceConfiguration sourceConfiguration)
      Sets the value of the SourceConfiguration property for this object.
      Parameters:
      sourceConfiguration - The new value for the SourceConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceConfiguration

      default MessageTemplateSummary.Builder sourceConfiguration(Consumer<MessageTemplateSourceConfiguration.Builder> sourceConfiguration)
      Sets the value of the SourceConfiguration property for this object. This is a convenience method that creates an instance of the MessageTemplateSourceConfiguration.Builder avoiding the need to create one manually via MessageTemplateSourceConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceConfiguration(MessageTemplateSourceConfiguration).

      Parameters:
      sourceConfiguration - a consumer that will call methods on MessageTemplateSourceConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activeVersionNumber

      MessageTemplateSummary.Builder activeVersionNumber(Long activeVersionNumber)

      The version number of the message template version that is activated.

      Parameters:
      activeVersionNumber - The version number of the message template version that is activated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      MessageTemplateSummary.Builder description(String description)

      The description of the message template.

      Parameters:
      description - The description of the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.