Interface TemplateTranslationBase.Builder<B extends TemplateTranslationBase.Builder<B>>
- All Known Subinterfaces:
TemplateTranslation.Builder<B>
- Enclosing interface:
TemplateTranslationBase
public static interface TemplateTranslationBase.Builder<B extends TemplateTranslationBase.Builder<B>>
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetChannelTemplateOverrides
(Map<ConversationChannel, ChannelTemplateOverride> channelTemplateOverrides) see gettersetCreateTime
(Instant createTime) see gettersetLanguageCode
(String languageCode) see gettersetUpdateTime
(Instant updateTime) see gettersetVariables
(List<TemplateVariable> variables) see gettersetVersion
(String version) see getter
-
Method Details
-
setLanguageCode
see getter- Parameters:
languageCode
- see getter- Returns:
- Current builder
- See Also:
-
setVersion
see getter- Parameters:
version
- see getter- Returns:
- Current builder
- See Also:
-
setChannelTemplateOverrides
B setChannelTemplateOverrides(Map<ConversationChannel, ChannelTemplateOverride> channelTemplateOverrides) see getter- Parameters:
channelTemplateOverrides
- see getter- Returns:
- Current builder
- See Also:
-
setVariables
see getter- Parameters:
variables
- see getter- Returns:
- Current builder
- See Also:
-
setCreateTime
see getter- Parameters:
createTime
- see getter- Returns:
- Current builder
- See Also:
-
setUpdateTime
see getter- Parameters:
updateTime
- see getter- Returns:
- Current builder
- See Also:
-
build
TemplateTranslationBase build()Create instance- Returns:
- The instance build with current builder values
-