Interface ChannelKeyReference
- All Superinterfaces:
KeyReference
References a channel by key.
Example to create an instance using the builder pattern
ChannelKeyReference channelKeyReference = ChannelKeyReference.builder()
.key("{key}")
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelKeyReferenceBuilder
builder()
builder factory method for ChannelKeyReferencestatic ChannelKeyReferenceBuilder
builder
(ChannelKeyReference template) create builder for ChannelKeyReference instancestatic ChannelKeyReference
deepCopy
(ChannelKeyReference template) factory method to create a deep copy of ChannelKeyReferencestatic ChannelKeyReference
of()
factory methodstatic ChannelKeyReference
of
(ChannelKeyReference template) factory method to create a shallow copy ChannelKeyReferencestatic com.fasterxml.jackson.core.type.TypeReference<ChannelKeyReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withChannelKeyReference
(Function<ChannelKeyReference, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.common.KeyReference
getKey, getTypeId, setKey, withKeyReference
-
Field Details
-
CHANNEL
discriminator value for ChannelKeyReference- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of ChannelKeyReference
-
of
factory method to create a shallow copy ChannelKeyReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ChannelKeyReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChannelKeyReference- Returns:
- builder
-
builder
create builder for ChannelKeyReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChannelKeyReference
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
-