Interface TemplateV1.Builder
- Enclosing interface:
TemplateV1
public static interface TemplateV1.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetChannel
(TemplateChannel channel) see gettersetCreateTime
(Instant createTime) see gettersetDefaultTranslation
(String defaultTranslation) see gettersetDescription
(String description) see gettersee gettersetTranslations
(List<TemplateTranslation> translations) see gettersetUpdateTime
(Instant updateTime) see getter
-
Method Details
-
setChannel
see getter- Parameters:
channel
- see getter- Returns:
- Current builder
- See Also:
-
setCreateTime
see getter- Parameters:
createTime
- see getter- Returns:
- Current builder
- See Also:
-
setDefaultTranslation
see getter- Parameters:
defaultTranslation
- see getter- Returns:
- Current builder
- See Also:
-
setDescription
see getter- Parameters:
description
- see getter- Returns:
- Current builder
- See Also:
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
-
setTranslations
see getter- Parameters:
translations
- see getter- Returns:
- Current builder
- See Also:
-
setUpdateTime
see getter- Parameters:
updateTime
- see getter- Returns:
- Current builder
- See Also:
-
build
TemplateV1 build()Create instance- Returns:
- The instance build with current builder values
-