code: public void pauseWorkflow(String workflowId) {
          Preconditions.checkArgument(StringUtils.isNotBlank(workflowId), "workflow id cannot be blank");
          stub.pauseWorkflow(WorkflowServicePb.PauseWorkflowRequest.newBuilder()
                  .setWorkflowId(workflowId)
                  .build()
          );
      }
docs: Pause a workflow by workflow id
  
  @param workflowId the workflow id of the workflow to be paused