primaryShardCount
Required - API name:
primary_shard_count
WithJson<IndicesVersions.Builder>
, ObjectBuilder<IndicesVersions>
public static class IndicesVersions.Builder extends WithJsonObjectBuilderBase<IndicesVersions.Builder> implements ObjectBuilder<IndicesVersions>
IndicesVersions
.Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
IndicesVersions |
build() |
Builds a
IndicesVersions . |
IndicesVersions.Builder |
indexCount(int value) |
Required - API name:
index_count |
IndicesVersions.Builder |
primaryShardCount(int value) |
Required - API name:
primary_shard_count |
protected IndicesVersions.Builder |
self() |
|
IndicesVersions.Builder |
totalPrimaryBytes(long value) |
Required - API name:
total_primary_bytes |
IndicesVersions.Builder |
version(java.lang.String value) |
Required - API name:
version |
withJson
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
index_count
primary_shard_count
total_primary_bytes
version
self
in class WithJsonObjectBuilderBase<IndicesVersions.Builder>
IndicesVersions
.build
in interface ObjectBuilder<IndicesVersions>
java.lang.NullPointerException
- if some of the required fields are null.