Class CategorySetAssetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategorySetAssetKeyActionBuilder
- All Implemented Interfaces:
Builder<CategorySetAssetKeyAction>
public class CategorySetAssetKeyActionBuilder
extends Object
implements Builder<CategorySetAssetKeyAction>
CategorySetAssetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetAssetKeyAction categorySetAssetKeyAction = CategorySetAssetKeyAction.builder()
.assetId("{assetId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionValue to set.Value to set.build()
builds CategorySetAssetKeyAction with checking for non-null required valuesbuilds CategorySetAssetKeyAction without checking for non-null required valuesValue to set.Value to set.of()
factory method for an instance of CategorySetAssetKeyActionBuilderof
(CategorySetAssetKeyAction template) create builder for CategorySetAssetKeyAction instance
-
Constructor Details
-
CategorySetAssetKeyActionBuilder
public CategorySetAssetKeyActionBuilder()
-
-
Method Details
-
assetId
Value to set.
- Parameters:
assetId
- value to be set- Returns:
- Builder
-
assetKey
Value to set. If empty, any existing value will be removed.
- Parameters:
assetKey
- value to be set- Returns:
- Builder
-
getAssetId
Value to set.
- Returns:
- assetId
-
getAssetKey
Value to set. If empty, any existing value will be removed.
- Returns:
- assetKey
-
build
builds CategorySetAssetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategorySetAssetKeyAction>
- Returns:
- CategorySetAssetKeyAction
-
buildUnchecked
builds CategorySetAssetKeyAction without checking for non-null required values- Returns:
- CategorySetAssetKeyAction
-
of
factory method for an instance of CategorySetAssetKeyActionBuilder- Returns:
- builder
-
of
create builder for CategorySetAssetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-