code: public DeploymentView createDeploymentView(String key, String description) {
          assertThatTheViewKeyIsSpecifiedAndUnique(key);
  
          DeploymentView view = new DeploymentView(model, key, description);
          view.setViewSet(this);
          deploymentViews.add(view);
          return view;
      }
docs: Creates a deployment view.
  
  @param key           the key for the deployment view (must be unique)
  @param description   a description of the  view
  @return              a DeploymentView object
  @throws              IllegalArgumentException if the key is not unique