Class FollowStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FollowStats.Builder>
co.elastic.clients.elasticsearch.ccr.stats.FollowStats.Builder
- All Implemented Interfaces:
WithJson<FollowStats.Builder>
,ObjectBuilder<FollowStats>
- Enclosing class:
- FollowStats
public static class FollowStats.Builder extends WithJsonObjectBuilderBase<FollowStats.Builder> implements ObjectBuilder<FollowStats>
Builder for
FollowStats
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FollowStats
build()
Builds aFollowStats
.FollowStats.Builder
indices(FollowIndexStats value, FollowIndexStats... values)
Required - API name:indices
FollowStats.Builder
indices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)
Required - API name:indices
FollowStats.Builder
indices(java.util.List<FollowIndexStats> list)
Required - API name:indices
protected FollowStats.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indices
Required - API name:indices
Adds all elements of
list
toindices
. -
indices
Required - API name:indices
Adds one or more values to
indices
. -
indices
public final FollowStats.Builder indices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)Required - API name:indices
Adds a value to
indices
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FollowStats.Builder>
-
build
Builds aFollowStats
.- Specified by:
build
in interfaceObjectBuilder<FollowStats>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-