code: public Optional<Deployment> show(long applicationId, long deploymentId)
      {
          Optional<Deployment> ret = Optional.absent();
          Collection<Deployment> deployments = list(applicationId);
          for(Deployment deployment : deployments)
          {
              if(deployment.getId() == deploymentId)
                  ret = Optional.of(deployment);
          }
          return ret;
      }
docs: Returns the deployment with the given id.
  <P>
  This is needed because the API does not contain an operation to get a deployment using the id directly.
  @param applicationId The application id for the deployments
  @param deploymentId The id of the deployment to return
  @return The deployment