Class FollowStatsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ccr.FollowStatsResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<FollowStatsResponse>
- Enclosing class:
- FollowStatsResponse
public static class FollowStatsResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<FollowStatsResponse>
Builder for
FollowStatsResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FollowStatsResponse
build()
Builds aFollowStatsResponse
.FollowStatsResponse.Builder
indices(FollowIndexStats value, FollowIndexStats... values)
Required - API name:indices
FollowStatsResponse.Builder
indices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)
Required - API name:indices
FollowStatsResponse.Builder
indices(java.util.List<FollowIndexStats> list)
Required - API name:indices
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
public final FollowStatsResponse.Builder indices(FollowIndexStats value, FollowIndexStats... values)Required - API name:indices
Adds one or more values to
indices
. -
indices
public final FollowStatsResponse.Builder indices(java.util.function.Function<FollowIndexStats.Builder,ObjectBuilder<FollowIndexStats>> fn)Required - API name:indices
Adds a value to
indices
using a builder lambda. -
build
Builds aFollowStatsResponse
.- Specified by:
build
in interfaceObjectBuilder<FollowStatsResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-