Interface SubscriptionSetKeyAction
- All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>
,SubscriptionUpdateAction
SubscriptionSetKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SubscriptionSetKeyAction subscriptionSetKeyAction = SubscriptionSetKeyAction.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SubscriptionSetKeyActionbuilder
(SubscriptionSetKeyAction template) create builder for SubscriptionSetKeyAction instancestatic SubscriptionSetKeyAction
deepCopy
(SubscriptionSetKeyAction template) factory method to create a deep copy of SubscriptionSetKeyActiongetKey()
Value to set.static SubscriptionSetKeyAction
of()
factory methodstatic SubscriptionSetKeyAction
of
(SubscriptionSetKeyAction template) factory method to create a shallow copy SubscriptionSetKeyActionvoid
Value to set.static com.fasterxml.jackson.core.type.TypeReference<SubscriptionSetKeyAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.subscription.SubscriptionUpdateAction
getAction, withSubscriptionUpdateAction
-
Field Details
-
SET_KEY
discriminator value for SubscriptionSetKeyAction- See Also:
-
-
Method Details
-
getKey
String getKey()Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
setKey
Value to set. If empty, any existing value will be removed.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of SubscriptionSetKeyAction
-
of
factory method to create a shallow copy SubscriptionSetKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SubscriptionSetKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SubscriptionSetKeyAction- Returns:
- builder
-
builder
create builder for SubscriptionSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSubscriptionSetKeyAction
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
-