code: private String getOriginAccessId() {
          String oaId = getExistingOriginAccessId();
          if (oaId != null) { // Use existing ID
              return oaId;
          } else { // Create a new ID
              return cfClient.createCloudFrontOriginAccessIdentity(
                  new CreateCloudFrontOriginAccessIdentityRequest(
                      new CloudFrontOriginAccessIdentityConfig()
                          .withCallerReference("" + System.currentTimeMillis())
                          .withComment("DuraCloud Origin Access ID")))
                             .getCloudFrontOriginAccessIdentity().getId();
          }
      }
docs: /*
  Retrieves an origin access ID, which may be either pre-existing or new