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