Class DeleteIndexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.DeleteIndexRequest
public class DeleteIndexRequest extends RequestBase
Deletes an index.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteIndexRequest.Builder
Builder forDeleteIndexRequest
.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<DeleteIndexRequest,DeleteIndexResponse,ErrorResponse>
_ENDPOINT
Endpoint "indices.delete
". -
Method Summary
Modifier and Type Method Description java.lang.Boolean
allowNoIndices()
Ignore if a wildcard expression resolves to no concrete indices (default: false)java.util.List<ExpandWildcard>
expandWildcards()
Whether wildcard expressions should get expanded to open, closed, or hidden indicesjava.lang.Boolean
ignoreUnavailable()
Ignore unavailable indexes (default: false)java.util.List<java.lang.String>
index()
Required - A comma-separated list of indices to delete; use_all
or*
string to delete all indicesTime
masterTimeout()
Specify timeout for connection to masterstatic DeleteIndexRequest
of(java.util.function.Function<DeleteIndexRequest.Builder,ObjectBuilder<DeleteIndexRequest>> fn)
Time
timeout()
Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "indices.delete
".
-
-
Method Details
-
of
public static DeleteIndexRequest of(java.util.function.Function<DeleteIndexRequest.Builder,ObjectBuilder<DeleteIndexRequest>> fn) -
allowNoIndices
@Nullable public final java.lang.Boolean allowNoIndices()Ignore if a wildcard expression resolves to no concrete indices (default: false)API name:
allow_no_indices
-
expandWildcards
Whether wildcard expressions should get expanded to open, closed, or hidden indicesAPI name:
expand_wildcards
-
index
public final java.util.List<java.lang.String> index()Required - A comma-separated list of indices to delete; use_all
or*
string to delete all indicesAPI name:
index
-
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout
-
timeout
Explicit operation timeoutAPI name:
timeout
-