Interface StateChangeKeyAction
- All Superinterfaces:
ResourceUpdateAction<StateUpdateAction>,StateUpdateAction
StateChangeKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StateChangeKeyAction stateChangeKeyAction = StateChangeKeyAction.builder()
.key("{key}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StateChangeKeyAction -
Method Summary
Modifier and TypeMethodDescriptionstatic StateChangeKeyActionBuilderbuilder()builder factory method for StateChangeKeyActionstatic StateChangeKeyActionBuilderbuilder(StateChangeKeyAction template) create builder for StateChangeKeyAction instancecopyDeep()static StateChangeKeyActiondeepCopy(StateChangeKeyAction template) factory method to create a deep copy of StateChangeKeyAction@NotNull StringgetKey()New value to set.static StateChangeKeyActionof()factory methodstatic StateChangeKeyActionof(StateChangeKeyAction template) factory method to create a shallow copy StateChangeKeyActionvoidNew value to set.static com.fasterxml.jackson.core.type.TypeReference<StateChangeKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStateChangeKeyAction(Function<StateChangeKeyAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.state.StateUpdateAction
getAction, withStateUpdateAction
-
Field Details
-
CHANGE_KEY
discriminator value for StateChangeKeyAction- 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 StateChangeKeyAction
-
of
factory method to create a shallow copy StateChangeKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StateChangeKeyAction copyDeep()- Specified by:
copyDeepin interfaceStateUpdateAction
-
deepCopy
factory method to create a deep copy of StateChangeKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StateChangeKeyAction- Returns:
- builder
-
builder
create builder for StateChangeKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStateChangeKeyAction
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
-