@JsonProperty("jobAuthorization")
    public Builder setAndValidateJobAuthorization(JobAuthorization jobAuthorization) {
      switch (jobAuthorization.state()) {
        case INITIAL:
        case CREDS_AVAILABLE:
          isUnset(jobAuthorization.encryptedAuthData());
          break;
        case CREDS_ENCRYPTION_KEY_GENERATED:
          // Expected associated keys from the assigned transfer worker to be present
          isSet(jobAuthorization.authPublicKey());
          isUnset(jobAuthorization.encryptedAuthData());
          break;
        case CREDS_STORED:
          isSet(jobAuthorization.authPublicKey(), jobAuthorization.encryptedAuthData());
          break;
        case TIMED_OUT:
          throw new RuntimeException("Authorization timed out, can't validate.");
      }
      return setJobAuthorization(jobAuthorization);
    }
Do not import the data. Instead, compute the size of every exported item and report the sizes
to the job store.
portability-spi-cloud/src/main/java/org/datatransferproject/spi/cloud/types/PortabilityJob.java