Class ProductTailoringSetAssetTagsActionBuilder
java.lang.Object
com.commercetools.api.models.product_tailoring.ProductTailoringSetAssetTagsActionBuilder
- All Implemented Interfaces:
Builder<ProductTailoringSetAssetTagsAction>
public class ProductTailoringSetAssetTagsActionBuilder
extends Object
implements Builder<ProductTailoringSetAssetTagsAction>
ProductTailoringSetAssetTagsActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTailoringSetAssetTagsAction productTailoringSetAssetTagsAction = ProductTailoringSetAssetTagsAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTheid
of the Asset to update.Thekey
of the Asset to update.build()
builds ProductTailoringSetAssetTagsAction with checking for non-null required valuesbuilds ProductTailoringSetAssetTagsAction without checking for non-null required valuesTheid
of the Asset to update.Thekey
of the Asset to update.getSku()
Thesku
of the tailored ProductVariant to update.Iftrue
, only the staged Asset is updated.getTags()
Keywords for categorizing and organizing Assets.Theid
of the tailored ProductVariant to update.of()
factory method for an instance of ProductTailoringSetAssetTagsActionBuilderof
(ProductTailoringSetAssetTagsAction template) create builder for ProductTailoringSetAssetTagsAction instanceKeywords for categorizing and organizing Assets.Thesku
of the tailored 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 tailored ProductVariant to update.
-
Constructor Details
-
ProductTailoringSetAssetTagsActionBuilder
public ProductTailoringSetAssetTagsActionBuilder()
-
-
Method Details
-
variantId
The
id
of the tailored ProductVariant to update.- Parameters:
variantId
- value to be set- Returns:
- Builder
-
sku
The
sku
of the tailored 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 tailored ProductVariant to update.- Returns:
- variantId
-
getSku
The
sku
of the tailored 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 ProductTailoringSetAssetTagsAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTailoringSetAssetTagsAction>
- Returns:
- ProductTailoringSetAssetTagsAction
-
buildUnchecked
builds ProductTailoringSetAssetTagsAction without checking for non-null required values- Returns:
- ProductTailoringSetAssetTagsAction
-
of
factory method for an instance of ProductTailoringSetAssetTagsActionBuilder- Returns:
- builder
-
of
public static ProductTailoringSetAssetTagsActionBuilder of(ProductTailoringSetAssetTagsAction template) create builder for ProductTailoringSetAssetTagsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-