Class PublishedClusterStates.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PublishedClusterStates.Builder>
co.elastic.clients.elasticsearch.nodes.PublishedClusterStates.Builder
- All Implemented Interfaces:
WithJson<PublishedClusterStates.Builder>
,ObjectBuilder<PublishedClusterStates>
- Enclosing class:
- PublishedClusterStates
public static class PublishedClusterStates.Builder
extends WithJsonObjectBuilderBase<PublishedClusterStates.Builder>
implements ObjectBuilder<PublishedClusterStates>
Builder for
PublishedClusterStates
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPublishedClusterStates
.compatibleDiffs
(Long value) Number of compatible differences between published cluster states.fullStates
(Long value) Number of published cluster states.incompatibleDiffs
(Long value) Number of incompatible differences between published cluster states.protected PublishedClusterStates.Builder
self()
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
-
fullStates
Number of published cluster states.API name:
full_states
-
incompatibleDiffs
Number of incompatible differences between published cluster states.API name:
incompatible_diffs
-
compatibleDiffs
Number of compatible differences between published cluster states.API name:
compatible_diffs
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PublishedClusterStates.Builder>
-
build
Builds aPublishedClusterStates
.- Specified by:
build
in interfaceObjectBuilder<PublishedClusterStates>
- Throws:
NullPointerException
- if some of the required fields are null.
-