code: @InterfaceAudience.Public
      public void setContinuous(boolean isContinous) {
          if (isContinous) {
              this.lifecycle = Lifecycle.CONTINUOUS;
              replicationInternal.setLifecycle(Lifecycle.CONTINUOUS);
          } else {
              this.lifecycle = Lifecycle.ONESHOT;
              replicationInternal.setLifecycle(Lifecycle.ONESHOT);
          }
      }
docs: Set whether this replication is continous