class SnsMessage {

  public void clearModifiedPartitions() {
    if (modifiedPartitions != null) {
      modifiedPartitions.clear();
    }
  }

    SnsMessage(
      SnsMessageType type,
      Map<String, String> headers,
      String startTime,
      String endTime,
      String eventId,
      String sourceCatalog,
      String replicaCatalog,
      String replicaMetastoreUris,
      String sourceTable,
      String replicaTable,
      String replicaTableLocation,
      LinkedHashMap<String, String> partitionKeys,
      List<List<String>> modifiedPartitions,
      Long bytesReplicated,
      String errorMessage);

}