Interface TypeChangeKeyAction
- All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>
,TypeUpdateAction
TypeChangeKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeKeyAction typeChangeKeyAction = TypeChangeKeyAction.builder()
.key("{key}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeChangeKeyActionBuilder
builder()
builder factory method for TypeChangeKeyActionstatic TypeChangeKeyActionBuilder
builder
(TypeChangeKeyAction template) create builder for TypeChangeKeyAction instancestatic TypeChangeKeyAction
deepCopy
(TypeChangeKeyAction template) factory method to create a deep copy of TypeChangeKeyAction@NotNull String
getKey()
New value to set.static TypeChangeKeyAction
of()
factory methodstatic TypeChangeKeyAction
of
(TypeChangeKeyAction template) factory method to create a shallow copy TypeChangeKeyActionvoid
New value to set.static com.fasterxml.jackson.core.type.TypeReference<TypeChangeKeyAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withTypeChangeKeyAction
(Function<TypeChangeKeyAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.type.TypeUpdateAction
getAction, withTypeUpdateAction
-
Field Details
-
CHANGE_KEY
discriminator value for TypeChangeKeyAction- See Also:
-
-
Method Details
-
getKey
New value to set. Must not be empty.
- Returns:
- key
-
setKey
New value to set. Must not be empty.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of TypeChangeKeyAction
-
of
factory method to create a shallow copy TypeChangeKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of TypeChangeKeyAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TypeChangeKeyAction- Returns:
- builder
-
builder
create builder for TypeChangeKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withTypeChangeKeyAction
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
-