Class FollowInfoResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ccr.FollowInfoResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<FollowInfoResponse>
- Enclosing class:
- FollowInfoResponse
public static class FollowInfoResponse.Builder extends java.lang.Object implements ObjectBuilder<FollowInfoResponse>
Builder for
FollowInfoResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FollowInfoResponse.BuilderaddFollowerIndices(FollowerIndex value)Add a value tofollowerIndices(List), creating the list if needed.FollowInfoResponse.BuilderaddFollowerIndices(java.util.function.Function<FollowerIndex.Builder,ObjectBuilder<FollowerIndex>> fn)Add a value tofollowerIndices(List), creating the list if needed.FollowInfoResponsebuild()Builds aFollowInfoResponse.FollowInfoResponse.BuilderfollowerIndices(FollowerIndex... value)API name:follower_indicesFollowInfoResponse.BuilderfollowerIndices(java.util.function.Function<FollowerIndex.Builder,ObjectBuilder<FollowerIndex>> fn)SetfollowerIndices(List)to a singleton list.FollowInfoResponse.BuilderfollowerIndices(java.util.List<FollowerIndex> value)API name:follower_indicesMethods 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
API name:follower_indices -
followerIndices
API name:follower_indices -
addFollowerIndices
Add a value tofollowerIndices(List), creating the list if needed. 4 -
followerIndices
public FollowInfoResponse.Builder followerIndices(java.util.function.Function<FollowerIndex.Builder,ObjectBuilder<FollowerIndex>> fn)SetfollowerIndices(List)to a singleton list. -
addFollowerIndices
public FollowInfoResponse.Builder addFollowerIndices(java.util.function.Function<FollowerIndex.Builder,ObjectBuilder<FollowerIndex>> fn)Add a value tofollowerIndices(List), creating the list if needed. 5 -
build
Builds aFollowInfoResponse.- Specified by:
buildin interfaceObjectBuilder<FollowInfoResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-