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