Class ClearCachedServiceTokensRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ClearCachedServiceTokensRequest.Builder>
co.elastic.clients.elasticsearch.security.ClearCachedServiceTokensRequest.Builder
- All Implemented Interfaces:
WithJson<ClearCachedServiceTokensRequest.Builder>
,ObjectBuilder<ClearCachedServiceTokensRequest>
- Enclosing class:
- ClearCachedServiceTokensRequest
public static class ClearCachedServiceTokensRequest.Builder
extends RequestBase.AbstractBuilder<ClearCachedServiceTokensRequest.Builder>
implements ObjectBuilder<ClearCachedServiceTokensRequest>
Builder for
ClearCachedServiceTokensRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aClearCachedServiceTokensRequest
.Required - A comma-separated list of token names to evict from the service account token caches.Required - A comma-separated list of token names to evict from the service account token caches.Required - The namespace, which is a top-level grouping of service accounts.protected ClearCachedServiceTokensRequest.Builder
self()
Required - The name of the service, which must be unique within its namespace.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required - A comma-separated list of token names to evict from the service account token caches. Use a wildcard (*
) to evict all tokens that belong to a service account. It does not support other wildcard patterns.API name:
name
Adds all elements of
list
toname
. -
name
Required - A comma-separated list of token names to evict from the service account token caches. Use a wildcard (*
) to evict all tokens that belong to a service account. It does not support other wildcard patterns.API name:
name
Adds one or more values to
name
. -
namespace
Required - The namespace, which is a top-level grouping of service accounts.API name:
namespace
-
service
Required - The name of the service, which must be unique within its namespace.API name:
service
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<ClearCachedServiceTokensRequest.Builder>
-
build
Builds aClearCachedServiceTokensRequest
.- Specified by:
build
in interfaceObjectBuilder<ClearCachedServiceTokensRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-