Class ProductTypeChangeAttributeOrderByNameActionBuilder
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangeAttributeOrderByNameActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeChangeAttributeOrderByNameAction>
public class ProductTypeChangeAttributeOrderByNameActionBuilder
extends Object
implements Builder<ProductTypeChangeAttributeOrderByNameAction>
ProductTypeChangeAttributeOrderByNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeChangeAttributeOrderByNameAction productTypeChangeAttributeOrderByNameAction = ProductTypeChangeAttributeOrderByNameAction.builder()
.plusAttributeNames(attributeNamesBuilder -> attributeNamesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeNames
(String... attributeNames) Names of Attributes to reorder.attributeNames
(List<String> attributeNames) Names of Attributes to reorder.build()
builds ProductTypeChangeAttributeOrderByNameAction with checking for non-null required valuesbuilds ProductTypeChangeAttributeOrderByNameAction without checking for non-null required valuesNames of Attributes to reorder.of()
factory method for an instance of ProductTypeChangeAttributeOrderByNameActionBuildercreate builder for ProductTypeChangeAttributeOrderByNameAction instanceplusAttributeNames
(String... attributeNames) Names of Attributes to reorder.
-
Constructor Details
-
ProductTypeChangeAttributeOrderByNameActionBuilder
public ProductTypeChangeAttributeOrderByNameActionBuilder()
-
-
Method Details
-
attributeNames
Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Parameters:
attributeNames
- value to be set- Returns:
- Builder
-
attributeNames
public ProductTypeChangeAttributeOrderByNameActionBuilder attributeNames(List<String> attributeNames) Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Parameters:
attributeNames
- value to be set- Returns:
- Builder
-
plusAttributeNames
public ProductTypeChangeAttributeOrderByNameActionBuilder plusAttributeNames(String... attributeNames) Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Parameters:
attributeNames
- value to be set- Returns:
- Builder
-
getAttributeNames
Names of Attributes to reorder. This array must include all Attributes currently present on a ProductType in a different order.
- Returns:
- attributeNames
-
build
builds ProductTypeChangeAttributeOrderByNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeChangeAttributeOrderByNameAction>
- Returns:
- ProductTypeChangeAttributeOrderByNameAction
-
buildUnchecked
builds ProductTypeChangeAttributeOrderByNameAction without checking for non-null required values- Returns:
- ProductTypeChangeAttributeOrderByNameAction
-
of
factory method for an instance of ProductTypeChangeAttributeOrderByNameActionBuilder- Returns:
- builder
-
of
public static ProductTypeChangeAttributeOrderByNameActionBuilder of(ProductTypeChangeAttributeOrderByNameAction template) create builder for ProductTypeChangeAttributeOrderByNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-