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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptDataLoss(Boolean value) This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.build()Builds aDeleteDanglingIndexRequest.Required - The UUID of the index to delete.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.protected DeleteDanglingIndexRequest.Builderself()The period to wait for a response.The period to wait for a response.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
-
acceptDataLoss
This parameter must be set to true to acknowledge that it will no longer be possible to recove data from the dangling index.API name:
accept_data_loss -
indexUuid
Required - The UUID of the index to delete. Use the get dangling indices API to find the UUID.API name:
index_uuid -
masterTimeout
The period to wait for a connection to the master node.API name:
master_timeout -
masterTimeout
public final DeleteDanglingIndexRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for a connection to the master node.API name:
master_timeout -
timeout
The period to wait for a response.API name:
timeout -
timeout
public final DeleteDanglingIndexRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for a response.API name:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteDanglingIndexRequest.Builder>
-
build
Builds aDeleteDanglingIndexRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteDanglingIndexRequest>- Throws:
NullPointerException- if some of the required fields are null.
-