Class ClearApiKeyCacheRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ClearApiKeyCacheRequest.Builder>
co.elastic.clients.elasticsearch.security.ClearApiKeyCacheRequest.Builder
- All Implemented Interfaces:
WithJson<ClearApiKeyCacheRequest.Builder>,ObjectBuilder<ClearApiKeyCacheRequest>
- Enclosing class:
- ClearApiKeyCacheRequest
public static class ClearApiKeyCacheRequest.Builder extends RequestBase.AbstractBuilder<ClearApiKeyCacheRequest.Builder> implements ObjectBuilder<ClearApiKeyCacheRequest>
Builder for
ClearApiKeyCacheRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClearApiKeyCacheRequestbuild()Builds aClearApiKeyCacheRequest.ClearApiKeyCacheRequest.Builderids(java.lang.String value, java.lang.String... values)Required - A comma-separated list of IDs of API keys to clear from the cacheClearApiKeyCacheRequest.Builderids(java.util.List<java.lang.String> list)Required - A comma-separated list of IDs of API keys to clear from the cacheprotected ClearApiKeyCacheRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ids
Required - A comma-separated list of IDs of API keys to clear from the cacheAPI name:
idsAdds all elements of
listtoids. -
ids
public final ClearApiKeyCacheRequest.Builder ids(java.lang.String value, java.lang.String... values)Required - A comma-separated list of IDs of API keys to clear from the cacheAPI name:
idsAdds one or more values to
ids. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ClearApiKeyCacheRequest.Builder>
-
build
Builds aClearApiKeyCacheRequest.- Specified by:
buildin interfaceObjectBuilder<ClearApiKeyCacheRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-