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.Builderself()Required - The name of the service, which must be unique within its namespace.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
nameAdds all elements of
listtoname. -
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:
nameAdds 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:
selfin classRequestBase.AbstractBuilder<ClearCachedServiceTokensRequest.Builder>
-
build
Builds aClearCachedServiceTokensRequest.- Specified by:
buildin interfaceObjectBuilder<ClearCachedServiceTokensRequest>- Throws:
NullPointerException- if some of the required fields are null.
-