Class DeleteServiceTokenRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteServiceTokenRequest
public class DeleteServiceTokenRequest extends RequestBase
Deletes a service account token.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteServiceTokenRequest.BuilderBuilder forDeleteServiceTokenRequest.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<DeleteServiceTokenRequest,DeleteServiceTokenResponse,ErrorResponse>_ENDPOINTEndpoint "security.delete_service_token". -
Method Summary
Modifier and Type Method Description java.lang.Stringname()Required - An identifier for the token namejava.lang.Stringnamespace()Required - An identifier for the namespacestatic DeleteServiceTokenRequestof(java.util.function.Function<DeleteServiceTokenRequest.Builder,ObjectBuilder<DeleteServiceTokenRequest>> fn)Refreshrefresh()Iftruethen refresh the affected shards to make this operation visible to search, ifwait_for(the default) then wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.java.lang.Stringservice()Required - An identifier for the service nameMethods 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<DeleteServiceTokenRequest,DeleteServiceTokenResponse,ErrorResponse> _ENDPOINTEndpoint "security.delete_service_token".
-
-
Method Details
-
of
public static DeleteServiceTokenRequest of(java.util.function.Function<DeleteServiceTokenRequest.Builder,ObjectBuilder<DeleteServiceTokenRequest>> fn) -
name
public final java.lang.String name()Required - An identifier for the token nameAPI name:
name -
namespace
public final java.lang.String namespace()Required - An identifier for the namespaceAPI name:
namespace -
refresh
Iftruethen refresh the affected shards to make this operation visible to search, ifwait_for(the default) then wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.API name:
refresh -
service
public final java.lang.String service()Required - An identifier for the service nameAPI name:
service
-