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