primaryActive
Required - API name:
primary_active
WithJson<ShardHealthStats.Builder>
, ObjectBuilder<ShardHealthStats>
public static class ShardHealthStats.Builder extends WithJsonObjectBuilderBase<ShardHealthStats.Builder> implements ObjectBuilder<ShardHealthStats>
ShardHealthStats
.Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
ShardHealthStats.Builder |
activeShards(int value) |
Required - API name:
active_shards |
ShardHealthStats |
build() |
Builds a
ShardHealthStats . |
ShardHealthStats.Builder |
initializingShards(int value) |
Required - API name:
initializing_shards |
ShardHealthStats.Builder |
primaryActive(boolean value) |
Required - API name:
primary_active |
ShardHealthStats.Builder |
relocatingShards(int value) |
Required - API name:
relocating_shards |
protected ShardHealthStats.Builder |
self() |
|
ShardHealthStats.Builder |
status(HealthStatus value) |
Required - API name:
status |
ShardHealthStats.Builder |
unassignedShards(int value) |
Required - API name:
unassigned_shards |
withJson
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
active_shards
initializing_shards
primary_active
relocating_shards
status
unassigned_shards
self
in class WithJsonObjectBuilderBase<ShardHealthStats.Builder>
ShardHealthStats
.build
in interface ObjectBuilder<ShardHealthStats>
java.lang.NullPointerException
- if some of the required fields are null.