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