Class CategoryRemoveAssetActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategoryRemoveAssetActionBuilder
- All Implemented Interfaces:
Builder<CategoryRemoveAssetAction>
public class CategoryRemoveAssetActionBuilder
extends Object
implements Builder<CategoryRemoveAssetAction>
CategoryRemoveAssetActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryRemoveAssetAction categoryRemoveAssetAction = CategoryRemoveAssetAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionValue to remove.Value to remove.build()
builds CategoryRemoveAssetAction with checking for non-null required valuesbuilds CategoryRemoveAssetAction without checking for non-null required valuesValue to remove.Value to remove.of()
factory method for an instance of CategoryRemoveAssetActionBuilderof
(CategoryRemoveAssetAction template) create builder for CategoryRemoveAssetAction instance
-
Constructor Details
-
CategoryRemoveAssetActionBuilder
public CategoryRemoveAssetActionBuilder()
-
-
Method Details
-
assetId
Value to remove. Either
assetId
orassetKey
is required.- Parameters:
assetId
- value to be set- Returns:
- Builder
-
assetKey
Value to remove. Either
assetId
orassetKey
is required.- Parameters:
assetKey
- value to be set- Returns:
- Builder
-
getAssetId
Value to remove. Either
assetId
orassetKey
is required.- Returns:
- assetId
-
getAssetKey
Value to remove. Either
assetId
orassetKey
is required.- Returns:
- assetKey
-
build
builds CategoryRemoveAssetAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategoryRemoveAssetAction>
- Returns:
- CategoryRemoveAssetAction
-
buildUnchecked
builds CategoryRemoveAssetAction without checking for non-null required values- Returns:
- CategoryRemoveAssetAction
-
of
factory method for an instance of CategoryRemoveAssetActionBuilder- Returns:
- builder
-
of
create builder for CategoryRemoveAssetAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-