Interface SubscriptionUpdateAction
- All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>
- All Known Subinterfaces:
SubscriptionChangeDestinationAction
,SubscriptionSetChangesAction
,SubscriptionSetKeyAction
,SubscriptionSetMessagesAction
SubscriptionUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
SubscriptionUpdateAction subscriptionUpdateAction = SubscriptionUpdateAction.changeDestinationBuilder()
destination(destinationBuilder -> destinationBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for changeDestination subtypestatic SubscriptionUpdateAction
deepCopy
(SubscriptionUpdateAction template) factory method to create a deep copy of SubscriptionUpdateAction@NotNull String
builder for setChanges subtypebuilder for setKey subtypebuilder for setMessages subtypestatic com.fasterxml.jackson.core.type.TypeReference<SubscriptionUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<SubscriptionUpdateAction>
- Returns:
- action
-
deepCopy
factory method to create a deep copy of SubscriptionUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
changeDestinationBuilder
builder for changeDestination subtype- Returns:
- builder
-
setChangesBuilder
builder for setChanges subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setMessagesBuilder
builder for setMessages subtype- Returns:
- builder
-
withSubscriptionUpdateAction
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
-