primaryActive
Required - API name:
primary_activeWithJson<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, _mapPutAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactive_shardsinitializing_shardsprimary_activerelocating_shardsstatusunassigned_shardsself in class WithJsonObjectBuilderBase<ShardHealthStats.Builder>ShardHealthStats.build in interface ObjectBuilder<ShardHealthStats>java.lang.NullPointerException - if some of the required fields are null.