Class DeleteDanglingIndexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.dangling_indices.DeleteDanglingIndexRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class DeleteDanglingIndexRequest extends RequestBase
-
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,ElasticsearchError>ENDPOINTEndpoint "dangling_indices.delete_dangling_index". -
Constructor Summary
Constructors Constructor Description DeleteDanglingIndexRequest(DeleteDanglingIndexRequest.Builder builder)DeleteDanglingIndexRequest(java.util.function.Function<DeleteDanglingIndexRequest.Builder,DeleteDanglingIndexRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description booleanacceptDataLoss()Must be set to true in order to delete the dangling indexjava.lang.StringindexUuid()The UUID of the dangling indexjava.lang.StringmasterTimeout()Specify timeout for connection to masterjava.lang.Stringtimeout()Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<DeleteDanglingIndexRequest,DeleteDanglingIndexResponse,ElasticsearchError> ENDPOINTEndpoint "dangling_indices.delete_dangling_index".
-
-
Constructor Details
-
DeleteDanglingIndexRequest
-
DeleteDanglingIndexRequest
public DeleteDanglingIndexRequest(java.util.function.Function<DeleteDanglingIndexRequest.Builder,DeleteDanglingIndexRequest.Builder> fn)
-
-
Method Details
-
indexUuid
public java.lang.String indexUuid()The UUID of the dangling indexAPI name:
index_uuid -
acceptDataLoss
public boolean acceptDataLoss()Must be set to true in order to delete the dangling indexAPI name:
accept_data_loss -
masterTimeout
@Nullable public java.lang.String masterTimeout()Specify timeout for connection to masterAPI name:
master_timeout -
timeout
@Nullable public java.lang.String timeout()Explicit operation timeoutAPI name:
timeout
-