Class DeleteDanglingIndexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.dangling_indices.DeleteDanglingIndexRequest
public class DeleteDanglingIndexRequest extends RequestBase
Deletes the specified dangling index
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteDanglingIndexRequest.BuilderBuilder forDeleteDanglingIndexRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteDanglingIndexRequest,DeleteDanglingIndexResponse,ErrorResponse>_ENDPOINTEndpoint "dangling_indices.delete_dangling_index". -
Method Summary
Modifier and Type Method Description booleanacceptDataLoss()Required - Must be set to true in order to delete the dangling indexjava.lang.StringindexUuid()Required - The UUID of the dangling indexTimemasterTimeout()Specify timeout for connection to masterstatic DeleteDanglingIndexRequestof(java.util.function.Function<DeleteDanglingIndexRequest.Builder,ObjectBuilder<DeleteDanglingIndexRequest>> fn)Timetimeout()Explicit operation timeoutMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteDanglingIndexRequest,DeleteDanglingIndexResponse,ErrorResponse> _ENDPOINTEndpoint "dangling_indices.delete_dangling_index".
-
-
Method Details
-
of
public static DeleteDanglingIndexRequest of(java.util.function.Function<DeleteDanglingIndexRequest.Builder,ObjectBuilder<DeleteDanglingIndexRequest>> fn) -
acceptDataLoss
public final boolean acceptDataLoss()Required - Must be set to true in order to delete the dangling indexAPI name:
accept_data_loss -
indexUuid
public final java.lang.String indexUuid()Required - The UUID of the dangling indexAPI name:
index_uuid -
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout -
timeout
Explicit operation timeoutAPI name:
timeout
-