Interface UpdateAction
- All Superinterfaces:
ResourceUpdateAction<UpdateAction>
UpdateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
UpdateAction updateAction = UpdateAction.builder()
.action("{action}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateActionBuilderbuilder()builder factory method for UpdateActionstatic UpdateActionBuilderbuilder(UpdateAction template) create builder for UpdateAction instancecopyDeep()static UpdateActiondeepCopy(UpdateAction template) factory method to create a deep copy of UpdateAction@NotNull Stringstatic UpdateActionof()factory methodstatic UpdateActionof(UpdateAction template) factory method to create a shallow copy UpdateActionvoidset actionstatic com.fasterxml.jackson.core.type.TypeReference<UpdateAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithUpdateAction(Function<UpdateAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getActionin interfaceResourceUpdateAction<UpdateAction>- Returns:
- action
-
setAction
set action- Parameters:
action- value to be set
-
of
factory method- Returns:
- instance of UpdateAction
-
of
factory method to create a shallow copy UpdateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
UpdateAction copyDeep() -
deepCopy
factory method to create a deep copy of UpdateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for UpdateAction- Returns:
- builder
-
builder
create builder for UpdateAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withUpdateAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-