Class DeleteAutoFollowPatternRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteAutoFollowPatternRequest.Builder>
co.elastic.clients.elasticsearch.ccr.DeleteAutoFollowPatternRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteAutoFollowPatternRequest.Builder>,ObjectBuilder<DeleteAutoFollowPatternRequest>
- Enclosing class:
- DeleteAutoFollowPatternRequest
public static class DeleteAutoFollowPatternRequest.Builder
extends RequestBase.AbstractBuilder<DeleteAutoFollowPatternRequest.Builder>
implements ObjectBuilder<DeleteAutoFollowPatternRequest>
Builder for
DeleteAutoFollowPatternRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteAutoFollowPatternRequest.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 auto-follow pattern collection to delete.protected DeleteAutoFollowPatternRequest.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 DeleteAutoFollowPatternRequest.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 auto-follow pattern collection to delete.API name:
name -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteAutoFollowPatternRequest.Builder>
-
build
Builds aDeleteAutoFollowPatternRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteAutoFollowPatternRequest>- Throws:
NullPointerException- if some of the required fields are null.
-