Class ShardsStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShardsStats.Builder>
co.elastic.clients.elasticsearch.snapshot.ShardsStats.Builder
- All Implemented Interfaces:
WithJson<ShardsStats.Builder>
,ObjectBuilder<ShardsStats>
- Enclosing class:
- ShardsStats
public static class ShardsStats.Builder
extends WithJsonObjectBuilderBase<ShardsStats.Builder>
implements ObjectBuilder<ShardsStats>
Builder for
ShardsStats
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aShardsStats
.final ShardsStats.Builder
done
(long value) Required - API name:done
final ShardsStats.Builder
failed
(long value) Required - API name:failed
final ShardsStats.Builder
finalizing
(long value) Required - API name:finalizing
final ShardsStats.Builder
initializing
(long value) Required - API name:initializing
protected ShardsStats.Builder
self()
final ShardsStats.Builder
started
(long value) Required - API name:started
final ShardsStats.Builder
total
(long value) Required - API name:total
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
-
done
Required - API name:done
-
failed
Required - API name:failed
-
finalizing
Required - API name:finalizing
-
initializing
Required - API name:initializing
-
started
Required - API name:started
-
total
Required - API name:total
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ShardsStats.Builder>
-
build
Builds aShardsStats
.- Specified by:
build
in interfaceObjectBuilder<ShardsStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-