Interface ExtensionChangeDestinationAction
- All Superinterfaces:
ExtensionUpdateAction
,ResourceUpdateAction<ExtensionUpdateAction>
ExtensionChangeDestinationAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ExtensionChangeDestinationAction extensionChangeDestinationAction = ExtensionChangeDestinationAction.builder()
.destination(destinationBuilder -> destinationBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ExtensionChangeDestinationAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ExtensionChangeDestinationActionbuilder
(ExtensionChangeDestinationAction template) create builder for ExtensionChangeDestinationAction instancedeepCopy
(ExtensionChangeDestinationAction template) factory method to create a deep copy of ExtensionChangeDestinationAction@NotNull @Valid ExtensionDestination
New value to set.of()
factory methodof
(ExtensionChangeDestinationAction template) factory method to create a shallow copy ExtensionChangeDestinationActionvoid
setDestination
(ExtensionDestination destination) New value to set.static com.fasterxml.jackson.core.type.TypeReference<ExtensionChangeDestinationAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.extension.ExtensionUpdateAction
getAction, withExtensionUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_DESTINATION
discriminator value for ExtensionChangeDestinationAction- See Also:
-
-
Method Details
-
getDestination
New value to set. Must not be empty.
- Returns:
- destination
-
setDestination
New value to set. Must not be empty.
- Parameters:
destination
- value to be set
-
of
factory method- Returns:
- instance of ExtensionChangeDestinationAction
-
of
factory method to create a shallow copy ExtensionChangeDestinationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ExtensionChangeDestinationAction deepCopy(@Nullable ExtensionChangeDestinationAction template) factory method to create a deep copy of ExtensionChangeDestinationAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ExtensionChangeDestinationAction- Returns:
- builder
-
builder
create builder for ExtensionChangeDestinationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withExtensionChangeDestinationAction
default <T> T withExtensionChangeDestinationAction(Function<ExtensionChangeDestinationAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ExtensionChangeDestinationAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-