public CreateIndexRequest aliases(XContentBuilder source){
  return aliases(source.bytes());
}

public CreateIndexRequest aliases ( XContentBuilder source ) { return aliases ( source . bytes ( ) ) ; }
sets the aliases that will be associated with the index when it gets created
