Class ProductSetAssetTagsActionBuilder
java.lang.Object
com.commercetools.api.models.product.ProductSetAssetTagsActionBuilder
- All Implemented Interfaces:
Builder<ProductSetAssetTagsAction>
public class ProductSetAssetTagsActionBuilder
extends Object
implements Builder<ProductSetAssetTagsAction>
ProductSetAssetTagsActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSetAssetTagsAction productSetAssetTagsAction = ProductSetAssetTagsAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTheidof the Asset to update.Thekeyof the Asset to update.build()builds ProductSetAssetTagsAction with checking for non-null required valuesbuilds ProductSetAssetTagsAction without checking for non-null required valuesTheidof the Asset to update.Thekeyof the Asset to update.getSku()Theskuof the ProductVariant to update.Iftrue, only the staged Asset is updated.getTags()Keywords for categorizing and organizing Assets.Theidof the ProductVariant to update.of()factory method for an instance of ProductSetAssetTagsActionBuilderof(ProductSetAssetTagsAction template) create builder for ProductSetAssetTagsAction instanceKeywords for categorizing and organizing Assets.Theskuof the ProductVariant to update.Iftrue, only the staged Asset is updated.Keywords for categorizing and organizing Assets.Keywords for categorizing and organizing Assets.Theidof the ProductVariant to update.
-
Constructor Details
-
ProductSetAssetTagsActionBuilder
public ProductSetAssetTagsActionBuilder()
-
-
Method Details
-
variantId
The
idof the ProductVariant to update.- Parameters:
variantId- value to be set- Returns:
- Builder
-
sku
The
skuof the ProductVariant to update.- Parameters:
sku- value to be set- Returns:
- Builder
-
staged
If
true, only the staged Asset is updated. Iffalse, both the current and staged Asset is updated.- Parameters:
staged- value to be set- Returns:
- Builder
-
assetId
The
idof the Asset to update.- Parameters:
assetId- value to be set- Returns:
- Builder
-
assetKey
The
keyof the Asset to update.- Parameters:
assetKey- value to be set- Returns:
- Builder
-
tags
Keywords for categorizing and organizing Assets.
- Parameters:
tags- value to be set- Returns:
- Builder
-
tags
Keywords for categorizing and organizing Assets.
- Parameters:
tags- value to be set- Returns:
- Builder
-
plusTags
Keywords for categorizing and organizing Assets.
- Parameters:
tags- value to be set- Returns:
- Builder
-
getVariantId
The
idof the ProductVariant to update.- Returns:
- variantId
-
getSku
The
skuof the ProductVariant to update.- Returns:
- sku
-
getStaged
If
true, only the staged Asset is updated. Iffalse, both the current and staged Asset is updated.- Returns:
- staged
-
getAssetId
The
idof the Asset to update.- Returns:
- assetId
-
getAssetKey
The
keyof the Asset to update.- Returns:
- assetKey
-
getTags
Keywords for categorizing and organizing Assets.
- Returns:
- tags
-
build
builds ProductSetAssetTagsAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<ProductSetAssetTagsAction>- Returns:
- ProductSetAssetTagsAction
-
buildUnchecked
builds ProductSetAssetTagsAction without checking for non-null required values- Returns:
- ProductSetAssetTagsAction
-
of
factory method for an instance of ProductSetAssetTagsActionBuilder- Returns:
- builder
-
of
create builder for ProductSetAssetTagsAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-