Interface TemplatedMessageConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TemplatedMessageConfig.Builder,,TemplatedMessageConfig> SdkBuilder<TemplatedMessageConfig.Builder,,TemplatedMessageConfig> SdkPojo
- Enclosing class:
TemplatedMessageConfig
@Mutable
@NotThreadSafe
public static interface TemplatedMessageConfig.Builder
extends SdkPojo, CopyableBuilder<TemplatedMessageConfig.Builder,TemplatedMessageConfig>
-
Method Summary
Modifier and TypeMethodDescriptionknowledgeBaseId(String knowledgeBaseId) The identifier of the knowledge base.messageTemplateId(String messageTemplateId) The identifier of the message template Id.default TemplatedMessageConfig.BuildertemplateAttributes(Consumer<TemplateAttributes.Builder> templateAttributes) Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.templateAttributes(TemplateAttributes templateAttributes) Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
messageTemplateId
The identifier of the message template Id.
- Parameters:
messageTemplateId- The identifier of the message template Id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateAttributes
Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.
- Parameters:
templateAttributes- Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateAttributes
default TemplatedMessageConfig.Builder templateAttributes(Consumer<TemplateAttributes.Builder> templateAttributes) Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.
This is a convenience method that creates an instance of theTemplateAttributes.Builderavoiding the need to create one manually viaTemplateAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplateAttributes(TemplateAttributes).- Parameters:
templateAttributes- a consumer that will call methods onTemplateAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-