primaryActive
Required - API name:
primary_active
ObjectBuilder<ShardHealthStats>
public static class ShardHealthStats.Builder extends ObjectBuilderBase 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 |
ShardHealthStats.Builder |
status(HealthStatus value) |
Required - API name:
status |
ShardHealthStats.Builder |
unassignedShards(int value) |
Required - API name:
unassigned_shards |
_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
ShardHealthStats
.build
in interface ObjectBuilder<ShardHealthStats>
java.lang.NullPointerException
- if some of the required fields are null.