Class CategoryChangeAssetOrderActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategoryChangeAssetOrderActionBuilder
- All Implemented Interfaces:
Builder<CategoryChangeAssetOrderAction>
public class CategoryChangeAssetOrderActionBuilder
extends Object
implements Builder<CategoryChangeAssetOrderAction>
CategoryChangeAssetOrderActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryChangeAssetOrderAction categoryChangeAssetOrderAction = CategoryChangeAssetOrderAction.builder()
.plusAssetOrder(assetOrderBuilder -> assetOrderBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassetOrder
(String... assetOrder) New value to set.assetOrder
(List<String> assetOrder) New value to set.build()
builds CategoryChangeAssetOrderAction with checking for non-null required valuesbuilds CategoryChangeAssetOrderAction without checking for non-null required valuesNew value to set.of()
factory method for an instance of CategoryChangeAssetOrderActionBuilderof
(CategoryChangeAssetOrderAction template) create builder for CategoryChangeAssetOrderAction instanceplusAssetOrder
(String... assetOrder) New value to set.
-
Constructor Details
-
CategoryChangeAssetOrderActionBuilder
public CategoryChangeAssetOrderActionBuilder()
-
-
Method Details
-
assetOrder
New value to set. Must contain all Asset
id
s.- Parameters:
assetOrder
- value to be set- Returns:
- Builder
-
assetOrder
New value to set. Must contain all Asset
id
s.- Parameters:
assetOrder
- value to be set- Returns:
- Builder
-
plusAssetOrder
New value to set. Must contain all Asset
id
s.- Parameters:
assetOrder
- value to be set- Returns:
- Builder
-
getAssetOrder
New value to set. Must contain all Asset
id
s.- Returns:
- assetOrder
-
build
builds CategoryChangeAssetOrderAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategoryChangeAssetOrderAction>
- Returns:
- CategoryChangeAssetOrderAction
-
buildUnchecked
builds CategoryChangeAssetOrderAction without checking for non-null required values- Returns:
- CategoryChangeAssetOrderAction
-
of
factory method for an instance of CategoryChangeAssetOrderActionBuilder- Returns:
- builder
-
of
create builder for CategoryChangeAssetOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-