// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.dns; import com.yahoo.vespa.hosted.controller.api.integration.dns.NameService; import com.yahoo.vespa.hosted.controller.api.integration.dns.RecordName; import com.yahoo.vespa.hosted.controller.application.TenantAndApplicationId; import java.util.Optional; /** * Interface for requests to a {@link NameService}. * * @author mpolden */ public interface NameServiceRequest { /** The record name this request pertains to. */ RecordName name(); /** The application owning this request */ Optional owner(); /** Send this to given name service */ void dispatchTo(NameService nameService); }