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 class
DeleteServiceTokenRequest.Builder
Builder 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>
ENDPOINT
Endpoint "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.String
name()
Required - An identifier for the token namejava.lang.String
namespace()
Required - An identifier for the namespacejakarta.json.JsonValue
refresh()
Iftrue
then 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, iffalse
then do nothing with refreshes.java.lang.String
service()
Required - 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()Required - An identifier for the namespaceAPI name:
namespace
-
service
public java.lang.String service()Required - An identifier for the service nameAPI name:
service
-
name
public java.lang.String name()Required - An identifier for the token nameAPI name:
name
-
refresh
@Nullable public jakarta.json.JsonValue refresh()Iftrue
then 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, iffalse
then do nothing with refreshes.API name:
refresh
-