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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFollowResponse.final FollowResponse.BuilderfollowIndexCreated(boolean value) Required - API name:follow_index_createdfinal FollowResponse.BuilderfollowIndexShardsAcked(boolean value) Required - API name:follow_index_shards_ackedfinal FollowResponse.BuilderindexFollowingStarted(boolean value) Required - API name:index_following_startedprotected FollowResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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:
selfin classWithJsonObjectBuilderBase<FollowResponse.Builder>
-
build
Builds aFollowResponse.- Specified by:
buildin interfaceObjectBuilder<FollowResponse>- Throws:
NullPointerException- if some of the required fields are null.
-