Class ProductTypeChangeDescriptionActionBuilder
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangeDescriptionActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeChangeDescriptionAction>
public class ProductTypeChangeDescriptionActionBuilder
extends Object
implements Builder<ProductTypeChangeDescriptionAction>
ProductTypeChangeDescriptionActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeChangeDescriptionAction productTypeChangeDescriptionAction = ProductTypeChangeDescriptionAction.builder()
.description("{description}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProductTypeChangeDescriptionAction with checking for non-null required valuesbuilds ProductTypeChangeDescriptionAction without checking for non-null required valuesdescription
(String description) New value to set.New value to set.of()
factory method for an instance of ProductTypeChangeDescriptionActionBuilderof
(ProductTypeChangeDescriptionAction template) create builder for ProductTypeChangeDescriptionAction instance
-
Constructor Details
-
ProductTypeChangeDescriptionActionBuilder
public ProductTypeChangeDescriptionActionBuilder()
-
-
Method Details
-
description
New value to set.
- Parameters:
description
- value to be set- Returns:
- Builder
-
getDescription
New value to set.
- Returns:
- description
-
build
builds ProductTypeChangeDescriptionAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeChangeDescriptionAction>
- Returns:
- ProductTypeChangeDescriptionAction
-
buildUnchecked
builds ProductTypeChangeDescriptionAction without checking for non-null required values- Returns:
- ProductTypeChangeDescriptionAction
-
of
factory method for an instance of ProductTypeChangeDescriptionActionBuilder- Returns:
- builder
-
of
public static ProductTypeChangeDescriptionActionBuilder of(ProductTypeChangeDescriptionAction template) create builder for ProductTypeChangeDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-