Interface ProductTailoringSetMetaKeywordsAction
- All Superinterfaces:
ProductTailoringUpdateAction
ProductTailoringSetMetaKeywordsAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTailoringSetMetaKeywordsAction productTailoringSetMetaKeywordsAction = ProductTailoringSetMetaKeywordsAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ProductTailoringSetMetaKeywordsAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ProductTailoringSetMetaKeywordsActionbuilder(ProductTailoringSetMetaKeywordsAction template) create builder for ProductTailoringSetMetaKeywordsAction instancecopyDeep()factory method to create a deep copy of ProductTailoringSetMetaKeywordsAction@Valid LocalizedStringValue to set.Iftrue, only the stagedmetaKeywordsis updated.of()factory methodof(ProductTailoringSetMetaKeywordsAction template) factory method to create a shallow copy ProductTailoringSetMetaKeywordsActionvoidsetMetaKeywords(LocalizedString metaKeywords) Value to set.voidIftrue, only the stagedmetaKeywordsis updated.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetMetaKeywordsAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.product_tailoring.ProductTailoringUpdateAction
getAction, withProductTailoringUpdateAction
-
Field Details
-
SET_META_KEYWORDS
discriminator value for ProductTailoringSetMetaKeywordsAction- See Also:
-
-
Method Details
-
getMetaKeywords
Value to set. If empty, any existing value will be removed.
- Returns:
- metaKeywords
-
getStaged
Boolean getStaged()If
true, only the stagedmetaKeywordsis updated. Iffalse, both the current and stagedmetaKeywordsare updated.- Returns:
- staged
-
setMetaKeywords
Value to set. If empty, any existing value will be removed.
- Parameters:
metaKeywords- value to be set
-
setStaged
If
true, only the stagedmetaKeywordsis updated. Iffalse, both the current and stagedmetaKeywordsare updated.- Parameters:
staged- value to be set
-
of
factory method- Returns:
- instance of ProductTailoringSetMetaKeywordsAction
-
of
factory method to create a shallow copy ProductTailoringSetMetaKeywordsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ProductTailoringSetMetaKeywordsAction copyDeep()- Specified by:
copyDeepin interfaceProductTailoringUpdateAction
-
deepCopy
@Nullable static ProductTailoringSetMetaKeywordsAction deepCopy(@Nullable ProductTailoringSetMetaKeywordsAction template) factory method to create a deep copy of ProductTailoringSetMetaKeywordsAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringSetMetaKeywordsAction- Returns:
- builder
-
builder
static ProductTailoringSetMetaKeywordsActionBuilder builder(ProductTailoringSetMetaKeywordsAction template) create builder for ProductTailoringSetMetaKeywordsAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringSetMetaKeywordsAction
default <T> T withProductTailoringSetMetaKeywordsAction(Function<ProductTailoringSetMetaKeywordsAction, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringSetMetaKeywordsAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-