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
-
Method Summary
Modifier and TypeMethodDescriptionTheid
of the Asset to update.Thekey
of the Asset to update.build()
builds ProductSetAssetTagsAction with checking for non-null required valuesbuilds ProductSetAssetTagsAction without checking for non-null required valuesTheid
of the Asset to update.Thekey
of the Asset to update.getSku()
Thesku
of the ProductVariant to update.Iftrue
, only the staged Asset is updated.getTags()
Keywords for categorizing and organizing Assets.Theid
of the ProductVariant to update.of()
factory method for an instance of ProductSetAssetTagsActionBuilderof
(ProductSetAssetTagsAction template) create builder for ProductSetAssetTagsAction instanceKeywords for categorizing and organizing Assets.Thesku
of the ProductVariant to update.Iftrue
, only the staged Asset is updated.Keywords for categorizing and organizing Assets.Keywords for categorizing and organizing Assets.Theid
of the ProductVariant to update.
-
Constructor Details
-
ProductSetAssetTagsActionBuilder
public ProductSetAssetTagsActionBuilder()
-
-
Method Details
-
variantId
The
id
of the ProductVariant to update.- Parameters:
variantId
- value to be set- Returns:
- Builder
-
sku
The
sku
of 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
id
of the Asset to update.- Parameters:
assetId
- value to be set- Returns:
- Builder
-
assetKey
The
key
of 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
id
of the ProductVariant to update.- Returns:
- variantId
-
getSku
The
sku
of 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
id
of the Asset to update.- Returns:
- assetId
-
getAssetKey
The
key
of 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:
build
in 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
-