public static final class TemplateContentData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TemplateContentData |
build()
Builder method to build an instance of TemplateContentData.
|
TemplateContentData.Builder |
withIdentifier(String identifier)
Adds identifier to template content data.
|
TemplateContentData.Builder |
withTemplateBaseDir(String templateBaseDir)
Adds template's base directory to template content data.
|
TemplateContentData.Builder |
withTemplateContent(byte[] templateContent)
Adds template content to template content data.
|
public TemplateContentData.Builder withIdentifier(String identifier)
identifier
- Identifier for each template content unit.TemplateContentData.Builder
.public TemplateContentData.Builder withTemplateContent(byte[] templateContent)
templateContent
- Content in a template.TemplateContentData.Builder
.public TemplateContentData.Builder withTemplateBaseDir(String templateBaseDir)
templateBaseDir
- Template's base directory.TemplateContentData.Builder
.public TemplateContentData build()
TemplateContentData
.Copyright © 2023. All rights reserved.