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.BuilderaddIndex(java.lang.String value)Add a value toindex(List), creating the list if needed.FollowStatsRequestbuild()Builds aFollowStatsRequest.FollowStatsRequest.Builderindex(java.lang.String... value)Required - A comma-separated list of index patterns; use_allto perform the operation on all indicesFollowStatsRequest.Builderindex(java.util.List<java.lang.String> value)Required - A comma-separated list of index patterns; use_allto 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_allto perform the operation on all indicesAPI name:
index -
index
Required - A comma-separated list of index patterns; use_allto perform the operation on all indicesAPI name:
index -
addIndex
Add a value toindex(List), creating the list if needed. -
build
Builds aFollowStatsRequest.- Specified by:
buildin interfaceObjectBuilder<FollowStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-