Remove Settings.settingsBuilder (#23575)

In this repository, `Settings.builder` is used everywhere although it does exactly same as `Settings.settingsBuilder`. With the reference of the commit 42526ac28e , I think mistakenly this `Settings.settingsBuilder` remains in.
This commit is contained in:
Md.Abdulla-Al-Sun 2017-03-16 16:20:42 +06:00 committed by David Pilato
parent 8e04561c0d
commit 8b6d521037
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ Example using Java:
[source,java] [source,java]
---- ----
client.admin().cluster().preparePutRepository("my_backup_java1") client.admin().cluster().preparePutRepository("my_backup_java1")
.setType("azure").setSettings(Settings.settingsBuilder() .setType("azure").setSettings(Settings.builder()
.put(Storage.CONTAINER, "backup-container") .put(Storage.CONTAINER, "backup-container")
.put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB)) .put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB))
).get(); ).get();