Class ResumeAutoFollowPatternRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ResumeAutoFollowPatternRequest.Builder>
co.elastic.clients.elasticsearch.ccr.ResumeAutoFollowPatternRequest.Builder
- All Implemented Interfaces:
WithJson<ResumeAutoFollowPatternRequest.Builder>,ObjectBuilder<ResumeAutoFollowPatternRequest>
- Enclosing class:
- ResumeAutoFollowPatternRequest
public static class ResumeAutoFollowPatternRequest.Builder
extends RequestBase.AbstractBuilder<ResumeAutoFollowPatternRequest.Builder>
implements ObjectBuilder<ResumeAutoFollowPatternRequest>
Builder for
ResumeAutoFollowPatternRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aResumeAutoFollowPatternRequest.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.Required - The name of the auto-follow pattern to resume.protected ResumeAutoFollowPatternRequest.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
-
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-1to indicate that the request should never timeout.API name:
master_timeout -
masterTimeout
public final ResumeAutoFollowPatternRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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-1to indicate that the request should never timeout.API name:
master_timeout -
name
Required - The name of the auto-follow pattern to resume.API name:
name -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ResumeAutoFollowPatternRequest.Builder>
-
build
Builds aResumeAutoFollowPatternRequest.- Specified by:
buildin interfaceObjectBuilder<ResumeAutoFollowPatternRequest>- Throws:
NullPointerException- if some of the required fields are null.
-