Class DeleteDanglingIndexRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteDanglingIndexRequest.Builder>
co.elastic.clients.elasticsearch.dangling_indices.DeleteDanglingIndexRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteDanglingIndexRequest.Builder>
,ObjectBuilder<DeleteDanglingIndexRequest>
- Enclosing class:
- DeleteDanglingIndexRequest
public static class DeleteDanglingIndexRequest.Builder
extends RequestBase.AbstractBuilder<DeleteDanglingIndexRequest.Builder>
implements ObjectBuilder<DeleteDanglingIndexRequest>
Builder for
DeleteDanglingIndexRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptDataLoss
(boolean value) Required - Must be set to true in order to delete the dangling indexbuild()
Builds aDeleteDanglingIndexRequest
.Required - The UUID of the dangling indexmasterTimeout
(Time value) Specify timeout for connection to masterSpecify timeout for connection to masterprotected DeleteDanglingIndexRequest.Builder
self()
Explicit operation timeoutExplicit operation timeoutMethods 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
-
acceptDataLoss
Required - Must be set to true in order to delete the dangling indexAPI name:
accept_data_loss
-
indexUuid
Required - The UUID of the dangling indexAPI name:
index_uuid
-
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout
-
masterTimeout
public final DeleteDanglingIndexRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Specify timeout for connection to masterAPI name:
master_timeout
-
timeout
Explicit operation timeoutAPI name:
timeout
-
timeout
public final DeleteDanglingIndexRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Explicit operation timeoutAPI name:
timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteDanglingIndexRequest.Builder>
-
build
Builds aDeleteDanglingIndexRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteDanglingIndexRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-