Class QueryApiKeysRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.QueryApiKeysRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<QueryApiKeysRequest>
- Enclosing class:
- QueryApiKeysRequest
public static class QueryApiKeysRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<QueryApiKeysRequest>
Builder for
QueryApiKeysRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description QueryApiKeysRequestbuild()Builds aQueryApiKeysRequest.QueryApiKeysRequest.Builderfrom(java.lang.Integer value)Starting document offset.QueryApiKeysRequest.Builderquery(Query value)A query to filter which API keys to return.QueryApiKeysRequest.Builderquery(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)A query to filter which API keys to return.QueryApiKeysRequest.BuildersearchAfter(java.lang.String value, java.lang.String... values)API name:search_afterQueryApiKeysRequest.BuildersearchAfter(java.util.List<java.lang.String> list)API name:search_afterQueryApiKeysRequest.Buildersize(java.lang.Integer value)The number of hits to return.QueryApiKeysRequest.Buildersort(SortOptions value, SortOptions... values)API name:sortQueryApiKeysRequest.Buildersort(java.util.function.Function<SortOptions.Builder,ObjectBuilder<SortOptions>> fn)API name:sortQueryApiKeysRequest.Buildersort(java.util.List<SortOptions> list)API name:sortMethods 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
-
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 -
query
public final QueryApiKeysRequest.Builder query(java.util.function.Function<Query.Builder,ObjectBuilder<Query>> fn)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
API name:search_afterAdds all elements of
listtosearchAfter. -
searchAfter
public final QueryApiKeysRequest.Builder searchAfter(java.lang.String value, java.lang.String... values)API name:search_afterAdds one or more values to
searchAfter. -
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:sortAdds all elements of
listtosort. -
sort
API name:sortAdds one or more values to
sort. -
sort
public final QueryApiKeysRequest.Builder sort(java.util.function.Function<SortOptions.Builder,ObjectBuilder<SortOptions>> fn)API name:sortAdds a value to
sortusing a builder lambda. -
build
Builds aQueryApiKeysRequest.- Specified by:
buildin interfaceObjectBuilder<QueryApiKeysRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-