Class DeleteServiceTokenRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteServiceTokenRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class DeleteServiceTokenRequest extends RequestBase
-
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,ElasticsearchError>ENDPOINTEndpoint "security.delete_service_token". -
Constructor Summary
Constructors Constructor Description DeleteServiceTokenRequest(DeleteServiceTokenRequest.Builder builder)DeleteServiceTokenRequest(java.util.function.Function<DeleteServiceTokenRequest.Builder,DeleteServiceTokenRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringname()An identifier for the token namejava.lang.Stringnamespace()An identifier for the namespacejakarta.json.JsonValuerefresh()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()An identifier for the service nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<DeleteServiceTokenRequest,DeleteServiceTokenResponse,ElasticsearchError> ENDPOINTEndpoint "security.delete_service_token".
-
-
Constructor Details
-
DeleteServiceTokenRequest
-
DeleteServiceTokenRequest
public DeleteServiceTokenRequest(java.util.function.Function<DeleteServiceTokenRequest.Builder,DeleteServiceTokenRequest.Builder> fn)
-
-
Method Details
-
namespace
public java.lang.String namespace()An identifier for the namespaceAPI name:
namespace -
service
public java.lang.String service()An identifier for the service nameAPI name:
service -
name
public java.lang.String name()An identifier for the token nameAPI name:
name -
refresh
@Nullable public jakarta.json.JsonValue 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
-