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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStoreStats.final StoreStats.BuilderA prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.final StoreStats.BuilderreservedInBytes(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.Builderself()final StoreStats.BuilderTotal size of all shards assigned to selected nodes.final StoreStats.BuildersizeInBytes(long value) Required - Total size, in bytes, of all shards assigned to selected nodes.final StoreStats.BuildertotalDataSetSize(String value) Total data set size of all shards assigned to selected nodes.final StoreStats.BuildertotalDataSetSizeInBytes(Long value) Total data set size, in bytes, of all shards assigned to selected nodes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<StoreStats.Builder>
-
build
Builds aStoreStats.- Specified by:
buildin interfaceObjectBuilder<StoreStats>- Throws:
NullPointerException- if some of the required fields are null.
-