Class FollowResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FollowResponse.Builder>
co.elastic.clients.elasticsearch.ccr.FollowResponse.Builder
- All Implemented Interfaces:
WithJson<FollowResponse.Builder>
,ObjectBuilder<FollowResponse>
- Enclosing class:
- FollowResponse
public static class FollowResponse.Builder extends WithJsonObjectBuilderBase<FollowResponse.Builder> implements ObjectBuilder<FollowResponse>
Builder for
FollowResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FollowResponse
build()
Builds aFollowResponse
.FollowResponse.Builder
followIndexCreated(boolean value)
Required - API name:follow_index_created
FollowResponse.Builder
followIndexShardsAcked(boolean value)
Required - API name:follow_index_shards_acked
FollowResponse.Builder
indexFollowingStarted(boolean value)
Required - API name:index_following_started
protected FollowResponse.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
-
followIndexCreated
Required - API name:follow_index_created
-
followIndexShardsAcked
Required - API name:follow_index_shards_acked
-
indexFollowingStarted
Required - API name:index_following_started
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FollowResponse.Builder>
-
build
Builds aFollowResponse
.- Specified by:
build
in interfaceObjectBuilder<FollowResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-