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 FollowStatsRequestbuild()Builds aFollowStatsRequest.FollowStatsRequest.Builderindex(java.lang.String value, java.lang.String... values)Required - A comma-separated list of index patterns; use_allto perform the operation on all indicesFollowStatsRequest.Builderindex(java.util.List<java.lang.String> list)Required - A comma-separated list of index patterns; use_allto perform the operation on all indicesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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_allto perform the operation on all indicesAPI name:
indexAdds all elements of
listtoindex. -
index
Required - A comma-separated list of index patterns; use_allto perform the operation on all indicesAPI name:
indexAdds one or more values to
index. -
build
Builds aFollowStatsRequest.- Specified by:
buildin interfaceObjectBuilder<FollowStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-