Interface TemplatedMessageConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TemplatedMessageConfig.Builder,TemplatedMessageConfig>,SdkBuilder<TemplatedMessageConfig.Builder,TemplatedMessageConfig>,SdkPojo
- Enclosing class:
- TemplatedMessageConfig
public static interface TemplatedMessageConfig.Builder extends SdkPojo, CopyableBuilder<TemplatedMessageConfig.Builder,TemplatedMessageConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TemplatedMessageConfig.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.TemplatedMessageConfig.BuildermessageTemplateId(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.TemplatedMessageConfig.BuildertemplateAttributes(TemplateAttributes templateAttributes)Information about template attributes, that is, CustomAttributes or CustomerProfileAttributes.-
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
-
knowledgeBaseId
TemplatedMessageConfig.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.
-
messageTemplateId
TemplatedMessageConfig.Builder messageTemplateId(String 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
TemplatedMessageConfig.Builder templateAttributes(TemplateAttributes 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:
templateAttributes(TemplateAttributes)
-
-