Class StoreStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StoreStats.Builder>
co.elastic.clients.elasticsearch._types.StoreStats.Builder
- All Implemented Interfaces:
WithJson<StoreStats.Builder>
,ObjectBuilder<StoreStats>
- Enclosing class:
- StoreStats
public static class StoreStats.Builder
extends WithJsonObjectBuilderBase<StoreStats.Builder>
implements ObjectBuilder<StoreStats>
Builder for
StoreStats
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStoreStats
.final StoreStats.Builder
A prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.final StoreStats.Builder
reservedInBytes
(long value) Required - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.protected StoreStats.Builder
self()
final StoreStats.Builder
Total size of all shards assigned to selected nodes.final StoreStats.Builder
sizeInBytes
(long value) Required - Total size, in bytes, of all shards assigned to selected nodes.final StoreStats.Builder
totalDataSetSize
(String value) Total data set size of all shards assigned to selected nodes.final StoreStats.Builder
totalDataSetSizeInBytes
(Long value) Total data set size, in bytes, of all shards assigned to selected nodes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
size
Total size of all shards assigned to selected nodes.API name:
size
-
sizeInBytes
Required - Total size, in bytes, of all shards assigned to selected nodes.API name:
size_in_bytes
-
reserved
A prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.API name:
reserved
-
reservedInBytes
Required - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.API name:
reserved_in_bytes
-
totalDataSetSize
Total data set size of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.API name:
total_data_set_size
-
totalDataSetSizeInBytes
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.API name:
total_data_set_size_in_bytes
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<StoreStats.Builder>
-
build
Builds aStoreStats
.- Specified by:
build
in interfaceObjectBuilder<StoreStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-