@Override
        protected StorageNode doBuild(DeployState deployState, TreeConfigProducer<StorageNode> ancestor, Element producerSpec) {
            ModelElement e = new ModelElement(producerSpec);
            Double capacity = e.doubleAttribute("capacity");
            if (capacity != null)
                deployState.getDeployLogger().logApplicationPackage(WARNING, "'capacity' is deprecated, see https://docs.vespa.ai/en/reference/services-content#node");
            return new StorageNode(deployState.getProperties(), (StorageCluster)ancestor, capacity, e.integerAttribute("distribution-key"), false);
        }
Class to provide config related to a specific storage node.
config-model/src/main/java/com/yahoo/vespa/model/content/StorageNode.java