Class CcrStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<CcrStatsRequest.Builder>
co.elastic.clients.elasticsearch.ccr.CcrStatsRequest.Builder
- All Implemented Interfaces:
WithJson<CcrStatsRequest.Builder>
,ObjectBuilder<CcrStatsRequest>
- Enclosing class:
- CcrStatsRequest
public static class CcrStatsRequest.Builder
extends RequestBase.AbstractBuilder<CcrStatsRequest.Builder>
implements ObjectBuilder<CcrStatsRequest>
Builder for
CcrStatsRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aCcrStatsRequest
.final CcrStatsRequest.Builder
masterTimeout
(Time value) The period to wait for a connection to the master node.final CcrStatsRequest.Builder
The period to wait for a connection to the master node.protected CcrStatsRequest.Builder
self()
final CcrStatsRequest.Builder
The period to wait for a response.final CcrStatsRequest.Builder
The period to wait for a response.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
-
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
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<CcrStatsRequest.Builder>
-
build
Builds aCcrStatsRequest
.- Specified by:
build
in interfaceObjectBuilder<CcrStatsRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-