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