Interface TemplateV2.Builder
- Enclosing interface:
TemplateV2
public static interface TemplateV2.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetCreateTime
(Instant createTime) see gettersetDefaultTranslation
(String defaultTranslation) see gettersetDescription
(String description) see gettersee gettersetTranslations
(Collection<TemplateTranslation> translations) see gettersetUpdateTime
(Instant updateTime) see gettersetVersion
(Integer version) see getter
-
Method Details
-
setId
see getter- Parameters:
id
- see getter- Returns:
- Current builder
- See Also:
-
setDescription
see getter- Parameters:
description
- see getter- Returns:
- Current builder
- See Also:
-
setVersion
see getter- Parameters:
version
- see getter- Returns:
- Current builder
- See Also:
-
setDefaultTranslation
see getter- Parameters:
defaultTranslation
- see getter- Returns:
- Current builder
- See Also:
-
setTranslations
see getter- Parameters:
translations
- see getter- Returns:
- Current builder
- See Also:
-
setCreateTime
see getter- Parameters:
createTime
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
setUpdateTime
see getter- Parameters:
updateTime
- see getter- Returns:
- Current builder
- See Also:
- Read Only
- This field is returned by the server and cannot be modified
-
build
TemplateV2 build()Create instance- Returns:
- The instance build with current builder values
-