Interface SubscriptionChangeDestinationAction

All Superinterfaces:
ResourceUpdateAction<SubscriptionUpdateAction>, SubscriptionUpdateAction

public interface SubscriptionChangeDestinationAction extends SubscriptionUpdateAction

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.


Example to create an instance using the builder pattern

     SubscriptionChangeDestinationAction subscriptionChangeDestinationAction = SubscriptionChangeDestinationAction.builder()
             .destination(destinationBuilder -> destinationBuilder)
             .build()