public static SetSnapshotCleanupRequest buildSetSnapshotCleanupRequest(final boolean enabled,
    final boolean synchronous) {
    return SetSnapshotCleanupRequest.newBuilder().setEnabled(enabled).setSynchronous(synchronous)
      .build();
  }
Creates SetSnapshotCleanupRequest for turning on/off auto snapshot cleanup
@param enabled     Set to <code>true</code> to enable, <code>false</code> to disable.
@param synchronous If <code>true</code>, it waits until current snapshot cleanup is completed,
                   if outstanding.
@return a SetSnapshotCleanupRequest
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/RequestConverter.java