Interface ExtensionUpdateAction
- All Superinterfaces:
ResourceUpdateAction<ExtensionUpdateAction>
- All Known Subinterfaces:
ExtensionChangeDestinationAction,ExtensionChangeTriggersAction,ExtensionSetKeyAction,ExtensionSetTimeoutInMsAction
ExtensionUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ExtensionUpdateAction extensionUpdateAction = ExtensionUpdateAction.changeDestinationBuilder()
destination(destinationBuilder -> destinationBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for changeDestination subtypebuilder for changeTriggers subtypecopyDeep()static ExtensionUpdateActiondeepCopy(ExtensionUpdateAction template) factory method to create a deep copy of ExtensionUpdateAction@NotNull Stringstatic ExtensionSetKeyActionBuilderbuilder for setKey subtypebuilder for setTimeoutInMs subtypestatic com.fasterxml.jackson.core.type.TypeReference<ExtensionUpdateAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getActionin interfaceResourceUpdateAction<ExtensionUpdateAction>- Returns:
- action
-
copyDeep
ExtensionUpdateAction copyDeep() -
deepCopy
factory method to create a deep copy of ExtensionUpdateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
changeDestinationBuilder
builder for changeDestination subtype- Returns:
- builder
-
changeTriggersBuilder
builder for changeTriggers subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setTimeoutInMsBuilder
builder for setTimeoutInMs subtype- Returns:
- builder
-
withExtensionUpdateAction
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
-