Class FollowStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ccr.FollowStatsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<FollowStatsRequest>
- Enclosing class:
- FollowStatsRequest
public static class FollowStatsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<FollowStatsRequest>
Builder for
FollowStatsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FollowStatsRequest
build()
Builds aFollowStatsRequest
.FollowStatsRequest.Builder
index(java.lang.String value, java.lang.String... values)
Required - A comma-separated list of index patterns; use_all
to perform the operation on all indicesFollowStatsRequest.Builder
index(java.util.List<java.lang.String> list)
Required - A comma-separated list of index patterns; use_all
to perform the operation on all indicesMethods 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
-
index
Required - A comma-separated list of index patterns; use_all
to perform the operation on all indicesAPI name:
index
Adds all elements of
list
toindex
. -
index
Required - A comma-separated list of index patterns; use_all
to perform the operation on all indicesAPI name:
index
Adds one or more values to
index
. -
build
Builds aFollowStatsRequest
.- Specified by:
build
in interfaceObjectBuilder<FollowStatsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-