code: private static BucketConfiguration createDefaultConfig(String hostname, int numNodes, int bucketStartPort, int numVBuckets, int numReplicas) {
          BucketConfiguration defaultConfig = new BucketConfiguration();
          defaultConfig.type = BucketType.COUCHBASE;
          defaultConfig.hostname = hostname;
          defaultConfig.numNodes = numNodes;
          if (numReplicas > -1) {
              defaultConfig.numReplicas = numReplicas;
          }
  
          defaultConfig.bucketStartPort = bucketStartPort;
          defaultConfig.numVBuckets = numVBuckets;
          return defaultConfig;
      }
docs: Initializes the default configuration from the command line parameters. This is present in order to allow the
  super constructor to be the first statement