Interface MetaLibraryTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MetaLibraryTemplate.Builder,
,MetaLibraryTemplate> SdkBuilder<MetaLibraryTemplate.Builder,
,MetaLibraryTemplate> SdkPojo
- Enclosing class:
MetaLibraryTemplate
-
Method Summary
Modifier and TypeMethodDescriptiondefault MetaLibraryTemplate.Builder
libraryTemplateBodyInputs
(Consumer<LibraryTemplateBodyInputs.Builder> libraryTemplateBodyInputs) Body text customizations for the template.libraryTemplateBodyInputs
(LibraryTemplateBodyInputs libraryTemplateBodyInputs) Body text customizations for the template.libraryTemplateButtonInputs
(Collection<LibraryTemplateButtonInput> libraryTemplateButtonInputs) Button customizations for the template.libraryTemplateButtonInputs
(Consumer<LibraryTemplateButtonInput.Builder>... libraryTemplateButtonInputs) Button customizations for the template.libraryTemplateButtonInputs
(LibraryTemplateButtonInput... libraryTemplateButtonInputs) Button customizations for the template.libraryTemplateName
(String libraryTemplateName) The name of the template in Meta's library.templateCategory
(String templateCategory) The category of the template (for example, UTILITY or MARKETING).templateLanguage
(String templateLanguage) The language code for the template (for example, en_US).templateName
(String templateName) The name to assign to 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 to assign to the template.
- Parameters:
templateName
- The name to assign to the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryTemplateName
The name of the template in Meta's library.
- Parameters:
libraryTemplateName
- The name of the template in Meta's library.- 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.
-
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.
-
libraryTemplateButtonInputs
MetaLibraryTemplate.Builder libraryTemplateButtonInputs(Collection<LibraryTemplateButtonInput> libraryTemplateButtonInputs) Button customizations for the template.
- Parameters:
libraryTemplateButtonInputs
- Button customizations for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryTemplateButtonInputs
MetaLibraryTemplate.Builder libraryTemplateButtonInputs(LibraryTemplateButtonInput... libraryTemplateButtonInputs) Button customizations for the template.
- Parameters:
libraryTemplateButtonInputs
- Button customizations for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryTemplateButtonInputs
MetaLibraryTemplate.Builder libraryTemplateButtonInputs(Consumer<LibraryTemplateButtonInput.Builder>... libraryTemplateButtonInputs) Button customizations for the template.
This is a convenience method that creates an instance of theLibraryTemplateButtonInput.Builder
avoiding the need to create one manually viaLibraryTemplateButtonInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolibraryTemplateButtonInputs(List<LibraryTemplateButtonInput>)
.- Parameters:
libraryTemplateButtonInputs
- a consumer that will call methods onLibraryTemplateButtonInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
libraryTemplateBodyInputs
MetaLibraryTemplate.Builder libraryTemplateBodyInputs(LibraryTemplateBodyInputs libraryTemplateBodyInputs) Body text customizations for the template.
- Parameters:
libraryTemplateBodyInputs
- Body text customizations for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
libraryTemplateBodyInputs
default MetaLibraryTemplate.Builder libraryTemplateBodyInputs(Consumer<LibraryTemplateBodyInputs.Builder> libraryTemplateBodyInputs) Body text customizations for the template.
This is a convenience method that creates an instance of theLibraryTemplateBodyInputs.Builder
avoiding the need to create one manually viaLibraryTemplateBodyInputs.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolibraryTemplateBodyInputs(LibraryTemplateBodyInputs)
.- Parameters:
libraryTemplateBodyInputs
- a consumer that will call methods onLibraryTemplateBodyInputs.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-