private void addTransforms(Map<String, String> options, String srcClusterName,
                             String tgtClusterName, String sourceDataSet, String targetDataSet,
                             String sourcefsEndpoint, String targetFsEndpoint) {
    List<AttributeTransform> transforms = new ArrayList<>();
    String sanitizedSourceClusterName = sanitizeForClassificationName(srcClusterName);
    addClassificationTransform(transforms,
            String.format(REPLICATED_TAG_NAME, sanitizedSourceClusterName));
    addClearReplicationAttributesTransform(transforms);
    addClusterRenameTransform(transforms, srcClusterName, tgtClusterName);
    if (!sourceDataSet.equals(targetDataSet)) {
      addDataSetRenameTransform(transforms, sourceDataSet, targetDataSet);
    }
    addLocationTransform(transforms, sourcefsEndpoint, targetFsEndpoint);
    options.put(AtlasImportRequest.TRANSFORMERS_KEY, AtlasType.toJson(transforms));
  }
Helper class to create export/import request.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/atlas/AtlasRequestBuilder.java