code: public AttachResult attach(V1Pod pod, boolean stdin, boolean tty)
        throws ApiException, IOException {
      return attach(pod, null, stdin, tty);
    }
docs: Attach to a running AttachResult in a container. If there are multiple containers in the pod,
  uses the first container in the Pod.
  
  @param pod The pod where the command is run.
  @param stdin If true, pass a stdin stream into the container
  @param tty If true, stdin is a tty.