Class FollowStats.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.FollowStats.Builder
- All Implemented Interfaces:
ObjectBuilder<FollowStats>
- Enclosing class:
- FollowStats
public static class FollowStats.Builder extends java.lang.Object implements ObjectBuilder<FollowStats>
Builder for
FollowStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FollowStats.BuilderaddIndices(FollowIndexStats value)Add a value toindices(List), creating the list if needed.FollowStats.BuilderaddIndices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)Add a value toindices(List), creating the list if needed.FollowStatsbuild()Builds aFollowStats.FollowStats.Builderindices(FollowIndexStats... value)Required - API name:indicesFollowStats.Builderindices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)Setindices(List)to a singleton list.FollowStats.Builderindices(java.util.List<FollowIndexStats> value)Required - API name:indicesMethods 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 -
indices
Required - API name:indices -
addIndices
Add a value toindices(List), creating the list if needed. -
indices
public FollowStats.Builder indices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)Setindices(List)to a singleton list. -
addIndices
public FollowStats.Builder addIndices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)Add a value toindices(List), creating the list if needed. -
build
Builds aFollowStats.- Specified by:
buildin interfaceObjectBuilder<FollowStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-