Class CategorySetMetaKeywordsActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategorySetMetaKeywordsActionBuilder
- All Implemented Interfaces:
Builder<CategorySetMetaKeywordsAction>
public class CategorySetMetaKeywordsActionBuilder
extends Object
implements Builder<CategorySetMetaKeywordsAction>
CategorySetMetaKeywordsActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetMetaKeywordsAction categorySetMetaKeywordsAction = CategorySetMetaKeywordsAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CategorySetMetaKeywordsAction with checking for non-null required valuesbuilds CategorySetMetaKeywordsAction without checking for non-null required valuesValue to set.metaKeywords
(LocalizedString metaKeywords) Value to set.Value to set.of()
factory method for an instance of CategorySetMetaKeywordsActionBuilderof
(CategorySetMetaKeywordsAction template) create builder for CategorySetMetaKeywordsAction instanceValue to set.
-
Constructor Details
-
CategorySetMetaKeywordsActionBuilder
public CategorySetMetaKeywordsActionBuilder()
-
-
Method Details
-
metaKeywords
public CategorySetMetaKeywordsActionBuilder metaKeywords(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Value to set.
- Parameters:
builder
- function to build the metaKeywords value- Returns:
- Builder
-
withMetaKeywords
public CategorySetMetaKeywordsActionBuilder withMetaKeywords(Function<LocalizedStringBuilder, LocalizedString> builder) Value to set.
- Parameters:
builder
- function to build the metaKeywords value- Returns:
- Builder
-
metaKeywords
Value to set.
- Parameters:
metaKeywords
- value to be set- Returns:
- Builder
-
getMetaKeywords
Value to set.
- Returns:
- metaKeywords
-
build
builds CategorySetMetaKeywordsAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategorySetMetaKeywordsAction>
- Returns:
- CategorySetMetaKeywordsAction
-
buildUnchecked
builds CategorySetMetaKeywordsAction without checking for non-null required values- Returns:
- CategorySetMetaKeywordsAction
-
of
factory method for an instance of CategorySetMetaKeywordsActionBuilder- Returns:
- builder
-
of
create builder for CategorySetMetaKeywordsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-