Interface ChannelChangeKeyAction
- All Superinterfaces:
ChannelUpdateAction,ResourceUpdateAction<ChannelUpdateAction>
ChannelChangeKeyAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelChangeKeyAction channelChangeKeyAction = ChannelChangeKeyAction.builder()
.key("{key}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for ChannelChangeKeyAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ChannelChangeKeyActionbuilder(ChannelChangeKeyAction template) create builder for ChannelChangeKeyAction instancecopyDeep()static ChannelChangeKeyActiondeepCopy(ChannelChangeKeyAction template) factory method to create a deep copy of ChannelChangeKeyAction@NotNull StringgetKey()New value to set.static ChannelChangeKeyActionof()factory methodstatic ChannelChangeKeyActionof(ChannelChangeKeyAction template) factory method to create a shallow copy ChannelChangeKeyActionvoidNew value to set.static com.fasterxml.jackson.core.type.TypeReference<ChannelChangeKeyAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.channel.ChannelUpdateAction
getAction, withChannelUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_KEY
discriminator value for ChannelChangeKeyAction- 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 ChannelChangeKeyAction
-
of
factory method to create a shallow copy ChannelChangeKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ChannelChangeKeyAction copyDeep()- Specified by:
copyDeepin interfaceChannelUpdateAction
-
deepCopy
factory method to create a deep copy of ChannelChangeKeyAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelChangeKeyAction- Returns:
- builder
-
builder
create builder for ChannelChangeKeyAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withChannelChangeKeyAction
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
-