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