Class DeleteAliasRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.DeleteAliasRequest
Delete an alias. Removes a data stream or index from an alias.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeleteAliasRequest,DeleteAliasResponse, ErrorResponse> Endpoint "indices.delete_alias". -
Method Summary
Modifier and TypeMethodDescriptionindex()Required - Comma-separated list of data streams or indices used to limit the request.final TimePeriod to wait for a connection to the master node.name()Required - Comma-separated list of aliases to remove.static DeleteAliasRequestfinal Timetimeout()Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.delete_alias".
-
-
Method Details
-
of
public static DeleteAliasRequest of(Function<DeleteAliasRequest.Builder, ObjectBuilder<DeleteAliasRequest>> fn) -
index
Required - Comma-separated list of data streams or indices used to limit the request. Supports wildcards (*).API name:
index -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
name
Required - Comma-separated list of aliases to remove. Supports wildcards (*). To remove all aliases, use*or_all.API name:
name -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-