Class UnfollowRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<UnfollowRequest.Builder>
co.elastic.clients.elasticsearch.ccr.UnfollowRequest.Builder
- All Implemented Interfaces:
WithJson<UnfollowRequest.Builder>
,ObjectBuilder<UnfollowRequest>
- Enclosing class:
- UnfollowRequest
public static class UnfollowRequest.Builder extends RequestBase.AbstractBuilder<UnfollowRequest.Builder> implements ObjectBuilder<UnfollowRequest>
Builder for
UnfollowRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description UnfollowRequest
build()
Builds aUnfollowRequest
.UnfollowRequest.Builder
index(java.lang.String value)
Required - The name of the follower index that should be turned into a regular index.protected UnfollowRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
Required - The name of the follower index that should be turned into a regular index.API name:
index
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<UnfollowRequest.Builder>
-
build
Builds aUnfollowRequest
.- Specified by:
build
in interfaceObjectBuilder<UnfollowRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-