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