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