code: public static MapReduceSettings getSettings(String bucket, String queue, String module) {
      // [START mapReduceSettings]
      MapReduceSettings settings = new MapReduceSettings.Builder()
          .setBucketName(bucket)
          .setWorkerQueueName(queue)
          .setModule(module) // if queue is null will use the current queue or "default" if none
          .build();
      // [END mapReduceSettings]
      return settings;
    }
docs: [START getSettings]