Class OpenSearchUbiAsyncClient
java.lang.Object
org.opensearch.client.ApiClient<OpenSearchTransport,OpenSearchUbiAsyncClient>
org.opensearch.client.opensearch.ubi.OpenSearchUbiAsyncClient
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class OpenSearchUbiAsyncClient
extends ApiClient<OpenSearchTransport,OpenSearchUbiAsyncClient>
Client for the ubi namespace.
-
Field Summary
Fields inherited from class org.opensearch.client.ApiClient
transport, transportOptions -
Constructor Summary
ConstructorsConstructorDescriptionOpenSearchUbiAsyncClient(OpenSearchTransport transport) OpenSearchUbiAsyncClient(OpenSearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptionfinal CompletableFuture<BooleanResponse> Initializes the UBI indexes.final CompletableFuture<BooleanResponse> Initializes the UBI indexes.initialize(InitializeRequest request) Initializes the UBI indexes.withTransportOptions(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class org.opensearch.client.ApiClient
_transport, _transportOptions, getDeserializer
-
Constructor Details
-
OpenSearchUbiAsyncClient
-
OpenSearchUbiAsyncClient
public OpenSearchUbiAsyncClient(OpenSearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<OpenSearchTransport,OpenSearchUbiAsyncClient>
-
initialize
public CompletableFuture<BooleanResponse> initialize(InitializeRequest request) throws IOException, OpenSearchException Initializes the UBI indexes.- Throws:
IOExceptionOpenSearchException
-
initialize
public final CompletableFuture<BooleanResponse> initialize(Function<InitializeRequest.Builder, ObjectBuilder<InitializeRequest>> fn) throws IOException, OpenSearchExceptionInitializes the UBI indexes.- Parameters:
fn- a function that initializes a builder to create theInitializeRequest- Throws:
IOExceptionOpenSearchException
-
initialize
public final CompletableFuture<BooleanResponse> initialize() throws IOException, OpenSearchExceptionInitializes the UBI indexes.- Throws:
IOExceptionOpenSearchException
-