code: public static CloudBigtableScanConfiguration fromConfig(CloudBigtableTableConfiguration config,
        Scan scan) {
      CloudBigtableScanConfiguration.Builder builder = new CloudBigtableScanConfiguration.Builder();
      config.copyConfig(builder);
      return builder.withScan(scan).build();
    }
docs: Converts a {@link CloudBigtableTableConfiguration} object to a
  {@link CloudBigtableScanConfiguration} that will perform the specified {@link Scan} on the
  table.
  @param config The {@link CloudBigtableTableConfiguration} object.
  @param scan The {@link Scan} to add to the configuration.
  @return The new {@link CloudBigtableScanConfiguration}.