Class ShardsTotalStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.stats.ShardsTotalStats.Builder
- All Implemented Interfaces:
ObjectBuilder<ShardsTotalStats>
- Enclosing class:
- ShardsTotalStats
public static class ShardsTotalStats.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardsTotalStats>
Builder for
ShardsTotalStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ShardsTotalStatsbuild()Builds aShardsTotalStats.ShardsTotalStats.BuildertotalCount(long value)Required - API name:total_countMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
totalCount
Required - API name:total_count -
build
Builds aShardsTotalStats.- Specified by:
buildin interfaceObjectBuilder<ShardsTotalStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-