Class PauseFollowRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.PauseFollowRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<PauseFollowRequest>
- Enclosing class:
- PauseFollowRequest
public static class PauseFollowRequest.Builder extends java.lang.Object implements ObjectBuilder<PauseFollowRequest>
Builder for
PauseFollowRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description PauseFollowRequest
build()
Builds aPauseFollowRequest
.PauseFollowRequest.Builder
index(java.lang.String value)
The name of the follower index that should pause following its leader index.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
The name of the follower index that should pause following its leader index.API name:
index
-
build
Builds aPauseFollowRequest
.- Specified by:
build
in interfaceObjectBuilder<PauseFollowRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-