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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFollowStats.final FollowStats.Builderindices(FollowIndexStats value, FollowIndexStats... values) Required - API name:indicesfinal FollowStats.BuilderRequired - API name:indicesfinal FollowStats.Builderindices(List<FollowIndexStats> list) Required - API name:indicesprotected FollowStats.Builderself()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
-
indices
Required - API name:indicesAdds all elements of
listtoindices. -
indices
Required - API name:indicesAdds one or more values to
indices. -
indices
public final FollowStats.Builder indices(Function<FollowIndexStats.Builder, ObjectBuilder<FollowIndexStats>> fn) Required - API name:indicesAdds a value to
indicesusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FollowStats.Builder>
-
build
Builds aFollowStats.- Specified by:
buildin interfaceObjectBuilder<FollowStats>- Throws:
NullPointerException- if some of the required fields are null.
-