Class SubscriptionChangeDestinationActionImpl
java.lang.Object
com.commercetools.api.models.subscription.SubscriptionChangeDestinationActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<SubscriptionUpdateAction>
,SubscriptionChangeDestinationAction
,SubscriptionUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class SubscriptionChangeDestinationActionImpl
extends Object
implements SubscriptionChangeDestinationAction, io.vrap.rmf.base.client.ModelBase
A test message is sent to ensure the correct configuration of the Destination. If the message cannot be delivered, the update will fail. The payload of the test message is a notification of type ResourceCreated for the resourceTypeId
subscription
. The status
will change to Healthy, if it isn't already.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.subscription.SubscriptionChangeDestinationAction
CHANGE_DESTINATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
New value to set.int
hashCode()
void
setDestination
(Destination destination) New value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.subscription.SubscriptionChangeDestinationAction
withSubscriptionChangeDestinationAction
Methods inherited from interface com.commercetools.api.models.subscription.SubscriptionUpdateAction
withSubscriptionUpdateAction
-
Constructor Details
-
SubscriptionChangeDestinationActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<SubscriptionUpdateAction>
- Specified by:
getAction
in interfaceSubscriptionUpdateAction
- Returns:
- action
-
getDestination
New value to set. Must not be empty.
- Specified by:
getDestination
in interfaceSubscriptionChangeDestinationAction
- Returns:
- destination
-
setDestination
Description copied from interface:SubscriptionChangeDestinationAction
New value to set. Must not be empty.
- Specified by:
setDestination
in interfaceSubscriptionChangeDestinationAction
- Parameters:
destination
- value to be set
-
equals
-
hashCode
-