Interface ExtendedMessageTemplateData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExtendedMessageTemplateData.Builder,ExtendedMessageTemplateData>,SdkBuilder<ExtendedMessageTemplateData.Builder,ExtendedMessageTemplateData>,SdkPojo
- Enclosing class:
- ExtendedMessageTemplateData
public static interface ExtendedMessageTemplateData.Builder extends SdkPojo, CopyableBuilder<ExtendedMessageTemplateData.Builder,ExtendedMessageTemplateData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExtendedMessageTemplateData.Builderattachments(Collection<MessageTemplateAttachment> attachments)The message template attachments.ExtendedMessageTemplateData.Builderattachments(Consumer<MessageTemplateAttachment.Builder>... attachments)The message template attachments.ExtendedMessageTemplateData.Builderattachments(MessageTemplateAttachment... attachments)The message template attachments.ExtendedMessageTemplateData.BuilderattributeTypes(Collection<MessageTemplateAttributeType> attributeTypes)The types of attributes contain the message template.ExtendedMessageTemplateData.BuilderattributeTypes(MessageTemplateAttributeType... attributeTypes)The types of attributes contain the message template.ExtendedMessageTemplateData.BuilderattributeTypesWithStrings(String... attributeTypes)The types of attributes contain the message template.ExtendedMessageTemplateData.BuilderattributeTypesWithStrings(Collection<String> attributeTypes)The types of attributes contain the message template.ExtendedMessageTemplateData.BuilderchannelSubtype(String channelSubtype)The channel subtype this message template applies to.ExtendedMessageTemplateData.BuilderchannelSubtype(ChannelSubtype channelSubtype)The channel subtype this message template applies to.default ExtendedMessageTemplateData.Buildercontent(Consumer<MessageTemplateContentProvider.Builder> content)The content of the message template.ExtendedMessageTemplateData.Buildercontent(MessageTemplateContentProvider content)The content of the message template.ExtendedMessageTemplateData.BuildercreatedTime(Instant createdTime)The timestamp when the message template was created.default ExtendedMessageTemplateData.BuilderdefaultAttributes(Consumer<MessageTemplateAttributes.Builder> defaultAttributes)An object that specifies the default values to use for variables in the message template.ExtendedMessageTemplateData.BuilderdefaultAttributes(MessageTemplateAttributes defaultAttributes)An object that specifies the default values to use for variables in the message template.ExtendedMessageTemplateData.Builderdescription(String description)The description of the message template.default ExtendedMessageTemplateData.BuildergroupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration)Sets the value of the GroupingConfiguration property for this object.ExtendedMessageTemplateData.BuildergroupingConfiguration(GroupingConfiguration groupingConfiguration)Sets the value of the GroupingConfiguration property for this object.ExtendedMessageTemplateData.BuilderisActive(Boolean isActive)Whether the version of the message template is activated.ExtendedMessageTemplateData.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.ExtendedMessageTemplateData.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.ExtendedMessageTemplateData.Builderlanguage(String language)The language code value for the language in which the quick response is written.ExtendedMessageTemplateData.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last updated the message template data.ExtendedMessageTemplateData.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp when the message template data was last modified.ExtendedMessageTemplateData.BuildermessageTemplateArn(String messageTemplateArn)The Amazon Resource Name (ARN) of the message template.ExtendedMessageTemplateData.BuildermessageTemplateContentSha256(String messageTemplateContentSha256)The checksum value of the message template content that is referenced by the$LATESTqualifier.ExtendedMessageTemplateData.BuildermessageTemplateId(String messageTemplateId)The identifier of the message template.ExtendedMessageTemplateData.Buildername(String name)The name of the message template.ExtendedMessageTemplateData.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.ExtendedMessageTemplateData.BuilderversionNumber(Long versionNumber)The version number of the message template version.-
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 Detail
-
attachments
ExtendedMessageTemplateData.Builder attachments(Collection<MessageTemplateAttachment> attachments)
The message template attachments.
- Parameters:
attachments- The message template attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
ExtendedMessageTemplateData.Builder attachments(MessageTemplateAttachment... attachments)
The message template attachments.
- Parameters:
attachments- The message template attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
ExtendedMessageTemplateData.Builder attachments(Consumer<MessageTemplateAttachment.Builder>... attachments)
The message template attachments.
This is a convenience method that creates an instance of theMessageTemplateAttachment.Builderavoiding the need to create one manually viaMessageTemplateAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachments(List.) - Parameters:
attachments- a consumer that will call methods onMessageTemplateAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attachments(java.util.Collection)
-
attributeTypesWithStrings
ExtendedMessageTemplateData.Builder attributeTypesWithStrings(Collection<String> attributeTypes)
The types of attributes contain the message template.
- Parameters:
attributeTypes- The types of attributes contain the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeTypesWithStrings
ExtendedMessageTemplateData.Builder attributeTypesWithStrings(String... attributeTypes)
The types of attributes contain the message template.
- Parameters:
attributeTypes- The types of attributes contain the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeTypes
ExtendedMessageTemplateData.Builder attributeTypes(Collection<MessageTemplateAttributeType> attributeTypes)
The types of attributes contain the message template.
- Parameters:
attributeTypes- The types of attributes contain the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeTypes
ExtendedMessageTemplateData.Builder attributeTypes(MessageTemplateAttributeType... attributeTypes)
The types of attributes contain the message template.
- Parameters:
attributeTypes- The types of attributes contain the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSubtype
ExtendedMessageTemplateData.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,ChannelSubtype
-
channelSubtype
ExtendedMessageTemplateData.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:
ChannelSubtype,ChannelSubtype
-
content
ExtendedMessageTemplateData.Builder content(MessageTemplateContentProvider content)
The content of the message template.
- Parameters:
content- The content of the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default ExtendedMessageTemplateData.Builder content(Consumer<MessageTemplateContentProvider.Builder> content)
The content of the message template.
This is a convenience method that creates an instance of theMessageTemplateContentProvider.Builderavoiding the need to create one manually viaMessageTemplateContentProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(MessageTemplateContentProvider).- Parameters:
content- a consumer that will call methods onMessageTemplateContentProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
content(MessageTemplateContentProvider)
-
createdTime
ExtendedMessageTemplateData.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.
-
defaultAttributes
ExtendedMessageTemplateData.Builder defaultAttributes(MessageTemplateAttributes defaultAttributes)
An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
- Parameters:
defaultAttributes- An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultAttributes
default ExtendedMessageTemplateData.Builder defaultAttributes(Consumer<MessageTemplateAttributes.Builder> defaultAttributes)
An object that specifies the default values to use for variables in the message template. This object contains different categories of key-value pairs. Each key defines a variable or placeholder in the message template. The corresponding value defines the default value for that variable.
This is a convenience method that creates an instance of theMessageTemplateAttributes.Builderavoiding the need to create one manually viaMessageTemplateAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultAttributes(MessageTemplateAttributes).- Parameters:
defaultAttributes- a consumer that will call methods onMessageTemplateAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultAttributes(MessageTemplateAttributes)
-
description
ExtendedMessageTemplateData.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.
-
groupingConfiguration
ExtendedMessageTemplateData.Builder groupingConfiguration(GroupingConfiguration groupingConfiguration)
Sets the value of the GroupingConfiguration property for this object.- Parameters:
groupingConfiguration- The new value for the GroupingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingConfiguration
default ExtendedMessageTemplateData.Builder groupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration)
Sets the value of the GroupingConfiguration property for this object. This is a convenience method that creates an instance of theGroupingConfiguration.Builderavoiding the need to create one manually viaGroupingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupingConfiguration(GroupingConfiguration).- Parameters:
groupingConfiguration- a consumer that will call methods onGroupingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
groupingConfiguration(GroupingConfiguration)
-
isActive
ExtendedMessageTemplateData.Builder isActive(Boolean isActive)
Whether the version of the message template is activated.
- Parameters:
isActive- Whether the version of the message template is activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseArn
ExtendedMessageTemplateData.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
ExtendedMessageTemplateData.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.
-
language
ExtendedMessageTemplateData.Builder language(String language)
The language code value for the language in which the quick response is written. The supported language codes include
de_DE,en_US,es_ES,fr_FR,id_ID,it_IT,ja_JP,ko_KR,pt_BR,zh_CN,zh_TW- Parameters:
language- The language code value for the language in which the quick response is written. The supported language codes includede_DE,en_US,es_ES,fr_FR,id_ID,it_IT,ja_JP,ko_KR,pt_BR,zh_CN,zh_TW- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
ExtendedMessageTemplateData.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.
-
lastModifiedTime
ExtendedMessageTemplateData.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.
-
messageTemplateArn
ExtendedMessageTemplateData.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.
-
messageTemplateContentSha256
ExtendedMessageTemplateData.Builder messageTemplateContentSha256(String messageTemplateContentSha256)
The checksum value of the message template content that is referenced by the
$LATESTqualifier. It can be returned inMessageTemplateDataorExtendedMessageTemplateData. It’s calculated by content, language,defaultAttributesandAttachmentsof the message template.- Parameters:
messageTemplateContentSha256- The checksum value of the message template content that is referenced by the$LATESTqualifier. It can be returned inMessageTemplateDataorExtendedMessageTemplateData. It’s calculated by content, language,defaultAttributesandAttachmentsof the message template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTemplateId
ExtendedMessageTemplateData.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.
-
name
ExtendedMessageTemplateData.Builder name(String 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.
-
tags
ExtendedMessageTemplateData.Builder tags(Map<String,String> 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.
-
versionNumber
ExtendedMessageTemplateData.Builder versionNumber(Long versionNumber)
The version number of the message template version.
- Parameters:
versionNumber- The version number of the message template version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-