AbstractIndex<T>, AsyncBaseIndex<T>, SerializableAsyncIndexpublic interface AsyncKey<T> extends AsyncBaseIndex<T>
| Modifier and Type | Method | Description |
|---|---|---|
default CompletableFuture<CreateUpdateKey> |
addApiKey(ApiKey key) |
Add a key to this index
|
default CompletableFuture<CreateUpdateKey> |
addApiKey(ApiKey key,
RequestOptions requestOptions) |
Add a key to this index
|
default CompletableFuture<CreateUpdateKey> |
addKey(ApiKey key) |
Deprecated.
|
default CompletableFuture<DeleteKey> |
deleteApiKey(String key) |
Delete a key by name from this index
|
default CompletableFuture<DeleteKey> |
deleteApiKey(String key,
RequestOptions requestOptions) |
Delete a key by name from this index
|
default CompletableFuture<DeleteKey> |
deleteKey(String key) |
Deprecated.
|
default CompletableFuture<Optional<ApiKey>> |
getApiKey(String key) |
Get a key by name from this index
|
default CompletableFuture<Optional<ApiKey>> |
getApiKey(String key,
RequestOptions requestOptions) |
Get a key by name from this index
|
default CompletableFuture<Optional<ApiKey>> |
getKey(String key) |
Deprecated.
|
default CompletableFuture<List<ApiKey>> |
listApiKeys() |
List keys of this index
|
default CompletableFuture<List<ApiKey>> |
listApiKeys(RequestOptions requestOptions) |
List keys of this index
|
default CompletableFuture<List<ApiKey>> |
listKeys() |
Deprecated.
|
default CompletableFuture<CreateUpdateKey> |
updateApiKey(String keyName,
ApiKey key) |
Update a key by name from this index
|
default CompletableFuture<CreateUpdateKey> |
updateApiKey(String keyName,
ApiKey key,
RequestOptions requestOptions) |
Update a key by name from this index
|
default CompletableFuture<CreateUpdateKey> |
updateKey(String keyName,
ApiKey key) |
Deprecated.
|
getKlass, getNamegetApiClient@Deprecated default CompletableFuture<List<ApiKey>> listKeys()
listApiKeys()default CompletableFuture<List<ApiKey>> listApiKeys()
default CompletableFuture<List<ApiKey>> listApiKeys(@Nonnull RequestOptions requestOptions)
requestOptions - Options to pass to this request@Deprecated default CompletableFuture<Optional<ApiKey>> getKey(@Nonnull String key)
getApiKey(String)default CompletableFuture<Optional<ApiKey>> getApiKey(@Nonnull String key)
key - the key namedefault CompletableFuture<Optional<ApiKey>> getApiKey(@Nonnull String key, @Nonnull RequestOptions requestOptions)
key - the key namerequestOptions - Options to pass to this request@Deprecated default CompletableFuture<DeleteKey> deleteKey(@Nonnull String key)
deleteApiKey(String)default CompletableFuture<DeleteKey> deleteApiKey(@Nonnull String key)
key - the key namedefault CompletableFuture<DeleteKey> deleteApiKey(@Nonnull String key, @Nonnull RequestOptions requestOptions)
key - the key namerequestOptions - Options to pass to this request@Deprecated default CompletableFuture<CreateUpdateKey> addKey(@Nonnull ApiKey key)
addApiKey(ApiKey)default CompletableFuture<CreateUpdateKey> addApiKey(@Nonnull ApiKey key)
key - the keydefault CompletableFuture<CreateUpdateKey> addApiKey(@Nonnull ApiKey key, @Nonnull RequestOptions requestOptions)
key - the keyrequestOptions - Options to pass to this request@Deprecated default CompletableFuture<CreateUpdateKey> updateKey(@Nonnull String keyName, @Nonnull ApiKey key)
updateApiKey(String, ApiKey)default CompletableFuture<CreateUpdateKey> updateApiKey(@Nonnull String keyName, @Nonnull ApiKey key)
keyName - the key namekey - the key to updatedefault CompletableFuture<CreateUpdateKey> updateApiKey(@Nonnull String keyName, @Nonnull ApiKey key, @Nonnull RequestOptions requestOptions)
keyName - the key namekey - the key to updaterequestOptions - Options to pass to this requestCopyright © 2018. All rights reserved.