Class FollowInfoResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ccr.FollowInfoResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<FollowInfoResponse>
- Enclosing class:
- FollowInfoResponse
public static class FollowInfoResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<FollowInfoResponse>
Builder for
FollowInfoResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FollowInfoResponsebuild()Builds aFollowInfoResponse.FollowInfoResponse.BuilderfollowerIndices(FollowerIndex value, FollowerIndex... values)Required - API name:follower_indicesFollowInfoResponse.BuilderfollowerIndices(java.util.function.Function<FollowerIndex.Builder,ObjectBuilder<FollowerIndex>> fn)Required - API name:follower_indicesFollowInfoResponse.BuilderfollowerIndices(java.util.List<FollowerIndex> list)Required - API name:follower_indicesMethods 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
-
followerIndices
Required - API name:follower_indicesAdds all elements of
listtofollowerIndices. -
followerIndices
public final FollowInfoResponse.Builder followerIndices(FollowerIndex value, FollowerIndex... values)Required - API name:follower_indicesAdds one or more values to
followerIndices. -
followerIndices
public final FollowInfoResponse.Builder followerIndices(java.util.function.Function<FollowerIndex.Builder,ObjectBuilder<FollowerIndex>> fn)Required - API name:follower_indicesAdds a value to
followerIndicesusing a builder lambda. -
build
Builds aFollowInfoResponse.- Specified by:
buildin interfaceObjectBuilder<FollowInfoResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-