Class DeleteRepositoryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteRepositoryRequest.Builder>
co.elastic.clients.elasticsearch.snapshot.DeleteRepositoryRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteRepositoryRequest.Builder>
,ObjectBuilder<DeleteRepositoryRequest>
- Enclosing class:
- DeleteRepositoryRequest
public static class DeleteRepositoryRequest.Builder
extends RequestBase.AbstractBuilder<DeleteRepositoryRequest.Builder>
implements ObjectBuilder<DeleteRepositoryRequest>
Builder for
DeleteRepositoryRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteRepositoryRequest
.masterTimeout
(Time value) The period to wait for the master node.The period to wait for the master node.Required - The ame of the snapshot repositories to unregister.Required - The ame of the snapshot repositories to unregister.protected DeleteRepositoryRequest.Builder
self()
The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata.The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata.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 the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-
masterTimeout
public final DeleteRepositoryRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-
name
Required - The ame of the snapshot repositories to unregister. Wildcard (*
) patterns are supported.API name:
repository
Adds all elements of
list
toname
. -
name
Required - The ame of the snapshot repositories to unregister. Wildcard (*
) patterns are supported.API name:
repository
Adds one or more values to
name
. -
timeout
The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. To indicate that the request should never timeout, set it to-1
.API name:
timeout
-
timeout
The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. To indicate that the request should never timeout, set it to-1
.API name:
timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteRepositoryRequest.Builder>
-
build
Builds aDeleteRepositoryRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteRepositoryRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-