Class FollowInfoRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<FollowInfoRequest.Builder>
co.elastic.clients.elasticsearch.ccr.FollowInfoRequest.Builder
- All Implemented Interfaces:
WithJson<FollowInfoRequest.Builder>
,ObjectBuilder<FollowInfoRequest>
- Enclosing class:
- FollowInfoRequest
public static class FollowInfoRequest.Builder
extends RequestBase.AbstractBuilder<FollowInfoRequest.Builder>
implements ObjectBuilder<FollowInfoRequest>
Builder for
FollowInfoRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aFollowInfoRequest
.Required - A comma-delimited list of follower index patterns.Required - A comma-delimited list of follower index patterns.masterTimeout
(Time value) The period to wait for a connection to the master node.The period to wait for a connection to the master node.protected FollowInfoRequest.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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
Required - A comma-delimited list of follower index patterns.API name:
index
Adds all elements of
list
toindex
. -
index
Required - A comma-delimited list of follower index patterns.API name:
index
Adds one or more values to
index
. -
masterTimeout
The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to-1
to indicate that the request should never timeout.API name:
master_timeout
-
masterTimeout
The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to-1
to indicate that the request should never timeout.API name:
master_timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<FollowInfoRequest.Builder>
-
build
Builds aFollowInfoRequest
.- Specified by:
build
in interfaceObjectBuilder<FollowInfoRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-