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