Interface UpdateMessageTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMessageTemplateRequest.Builder,UpdateMessageTemplateRequest>,QConnectRequest.Builder,SdkBuilder<UpdateMessageTemplateRequest.Builder,UpdateMessageTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateMessageTemplateRequest
public static interface UpdateMessageTemplateRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateMessageTemplateRequest.Builder,UpdateMessageTemplateRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
-
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
-
content
UpdateMessageTemplateRequest.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 UpdateMessageTemplateRequest.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)
-
defaultAttributes
UpdateMessageTemplateRequest.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 UpdateMessageTemplateRequest.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)
-
knowledgeBaseId
UpdateMessageTemplateRequest.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
UpdateMessageTemplateRequest.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.
-
messageTemplateId
UpdateMessageTemplateRequest.Builder messageTemplateId(String messageTemplateId)
The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
- Parameters:
messageTemplateId- The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMessageTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMessageTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-