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