Class QueryApiKeysRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.QueryApiKeysRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class QueryApiKeysRequest extends RequestBase implements JsonpSerializable
Retrieves information for API keys using a subset of query DSL
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryApiKeysRequest.BuilderBuilder forQueryApiKeysRequest.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 JsonpDeserializer<QueryApiKeysRequest>_DESERIALIZERJson deserializer forQueryApiKeysRequeststatic Endpoint<QueryApiKeysRequest,QueryApiKeysResponse,ErrorResponse>_ENDPOINTEndpoint "security.query_api_keys". -
Method Summary
Modifier and Type Method Description java.lang.Integerfrom()Starting document offset.static QueryApiKeysRequestof(java.util.function.Function<QueryApiKeysRequest.Builder,ObjectBuilder<QueryApiKeysRequest>> fn)Queryquery()A query to filter which API keys to return.java.util.List<java.lang.String>searchAfter()API name:search_aftervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupQueryApiKeysRequestDeserializer(ObjectDeserializer<QueryApiKeysRequest.Builder> op)java.lang.Integersize()The number of hits to return.java.util.List<SortOptions>sort()API name:sortMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryApiKeysRequest -
_ENDPOINT
Endpoint "security.query_api_keys".
-
-
Method Details
-
of
public static QueryApiKeysRequest of(java.util.function.Function<QueryApiKeysRequest.Builder,ObjectBuilder<QueryApiKeysRequest>> fn) -
from
@Nullable public final java.lang.Integer from()Starting document offset. By default, you cannot page through more than 10,000 hits using the from and size parameters. To page through more hits, use the search_after parameter.API name:
from -
query
A query to filter which API keys to return. The query supports a subset of query types, including match_all, bool, term, terms, ids, prefix, wildcard, and range. You can query all public information associated with an API keyAPI name:
query -
searchAfter
public final java.util.List<java.lang.String> searchAfter()API name:search_after -
size
@Nullable public final java.lang.Integer size()The number of hits to return. By default, you cannot page through more than 10,000 hits using the from and size parameters. To page through more hits, use the search_after parameter.API name:
size -
sort
API name:sort -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupQueryApiKeysRequestDeserializer
protected static void setupQueryApiKeysRequestDeserializer(ObjectDeserializer<QueryApiKeysRequest.Builder> op)
-