code: private ThriftKeyspaceDefinitionImpl toThriftKeyspaceDefinition(final Map<String, Object> options) {
          ThriftKeyspaceDefinitionImpl def = new ThriftKeyspaceDefinitionImpl();
          
          Map<String, Object> internalOptions = Maps.newHashMap();
          if (options != null)
              internalOptions.putAll(options);
          
          if (internalOptions.containsKey("name") && !internalOptions.get("name").equals(getKeyspaceName())) {
              throw new RuntimeException(
                      String.format("'name' attribute must match keyspace name. Expected '%s' but got '%s'", 
                                    getKeyspaceName(), internalOptions.get("name")));
          }
          else {
              internalOptions.put("name", getKeyspaceName());
          }
          
          def.setFields(internalOptions); 
          
          return def;
      }
docs: Convert a Map of options to an internal thrift keyspace definition
  @param options