code: public Optional<Deployment> create(long applicationId, Deployment deployment)
      {
          return HTTP.POST(String.format("/v2/applications/%d/deployments.json", applicationId), deployment, DEPLOYMENT);
      }
docs: Creates the given deployment.
  @param applicationId The application id for the deployments
  @param deployment The deployment to create
  @return The deployment that was created