Interface MetaLibraryTemplateDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetaLibraryTemplateDefinition.Builder,
,MetaLibraryTemplateDefinition> SdkBuilder<MetaLibraryTemplateDefinition.Builder,
,MetaLibraryTemplateDefinition> SdkPojo
- Enclosing class:
MetaLibraryTemplateDefinition
@Mutable
@NotThreadSafe
public static interface MetaLibraryTemplateDefinition.Builder
extends SdkPojo, CopyableBuilder<MetaLibraryTemplateDefinition.Builder,MetaLibraryTemplateDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiontemplateBody
(String templateBody) The body text of the template.templateButtons
(Collection<LibraryTemplateButtonList> templateButtons) The buttons included in the template.templateButtons
(Consumer<LibraryTemplateButtonList.Builder>... templateButtons) The buttons included in the template.templateButtons
(LibraryTemplateButtonList... templateButtons) The buttons included in the template.templateCategory
(String templateCategory) The category of the template (for example, UTILITY or MARKETING).templateHeader
(String templateHeader) The header text of the template.templateId
(String templateId) The ID of the template in Meta's library.templateIndustry
(String... templateIndustry) The industries the template is designed for.templateIndustry
(Collection<String> templateIndustry) The industries the template is designed for.templateLanguage
(String templateLanguage) The language code for the template (for example, en_US).templateName
(String templateName) The name of the template.templateTopic
(String templateTopic) The topic or subject matter of the template.templateUseCase
(String templateUseCase) The intended use case for the template.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 Details
-
templateName
The name of the template.
- Parameters:
templateName
- The name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateLanguage
The language code for the template (for example, en_US).
- Parameters:
templateLanguage
- The language code for the template (for example, en_US).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateCategory
The category of the template (for example, UTILITY or MARKETING).
- Parameters:
templateCategory
- The category of the template (for example, UTILITY or MARKETING).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateTopic
The topic or subject matter of the template.
- Parameters:
templateTopic
- The topic or subject matter of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateUseCase
The intended use case for the template.
- Parameters:
templateUseCase
- The intended use case for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateIndustry
The industries the template is designed for.
- Parameters:
templateIndustry
- The industries the template is designed for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateIndustry
The industries the template is designed for.
- Parameters:
templateIndustry
- The industries the template is designed for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateHeader
The header text of the template.
- Parameters:
templateHeader
- The header text of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateBody
The body text of the template.
- Parameters:
templateBody
- The body text of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateButtons
MetaLibraryTemplateDefinition.Builder templateButtons(Collection<LibraryTemplateButtonList> templateButtons) The buttons included in the template.
- Parameters:
templateButtons
- The buttons included in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateButtons
The buttons included in the template.
- Parameters:
templateButtons
- The buttons included in the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateButtons
MetaLibraryTemplateDefinition.Builder templateButtons(Consumer<LibraryTemplateButtonList.Builder>... templateButtons) The buttons included in the template.
This is a convenience method that creates an instance of theLibraryTemplateButtonList.Builder
avoiding the need to create one manually viaLibraryTemplateButtonList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateButtons(List<LibraryTemplateButtonList>)
.- Parameters:
templateButtons
- a consumer that will call methods onLibraryTemplateButtonList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
templateId
The ID of the template in Meta's library.
- Parameters:
templateId
- The ID of the template in Meta's library.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-