/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.kafkaconnect; import javax.annotation.Generated; import com.amazonaws.services.kafkaconnect.model.*; /** * Interface for accessing Kafka Connect asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.kafkaconnect.AbstractAWSKafkaConnectAsync} instead. *
**
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSKafkaConnectAsync extends AWSKafkaConnect { /** ** Creates a connector using the specified properties. *
* * @param createConnectorRequest * @return A Java Future containing the result of the CreateConnector operation returned by the service. * @sample AWSKafkaConnectAsync.CreateConnector * @see AWS * API Documentation */ java.util.concurrent.Future* Creates a connector using the specified properties. *
* * @param createConnectorRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateConnector operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.CreateConnector * @see AWS * API Documentation */ java.util.concurrent.Future* Creates a custom plugin using the specified properties. *
* * @param createCustomPluginRequest * @return A Java Future containing the result of the CreateCustomPlugin operation returned by the service. * @sample AWSKafkaConnectAsync.CreateCustomPlugin * @see AWS API Documentation */ java.util.concurrent.Future* Creates a custom plugin using the specified properties. *
* * @param createCustomPluginRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateCustomPlugin operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.CreateCustomPlugin * @see AWS API Documentation */ java.util.concurrent.Future* Creates a worker configuration using the specified properties. *
* * @param createWorkerConfigurationRequest * @return A Java Future containing the result of the CreateWorkerConfiguration operation returned by the service. * @sample AWSKafkaConnectAsync.CreateWorkerConfiguration * @see AWS API Documentation */ java.util.concurrent.Future* Creates a worker configuration using the specified properties. *
* * @param createWorkerConfigurationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateWorkerConfiguration operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.CreateWorkerConfiguration * @see AWS API Documentation */ java.util.concurrent.Future* Deletes the specified connector. *
* * @param deleteConnectorRequest * @return A Java Future containing the result of the DeleteConnector operation returned by the service. * @sample AWSKafkaConnectAsync.DeleteConnector * @see AWS * API Documentation */ java.util.concurrent.Future* Deletes the specified connector. *
* * @param deleteConnectorRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteConnector operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.DeleteConnector * @see AWS * API Documentation */ java.util.concurrent.Future* Deletes a custom plugin. *
* * @param deleteCustomPluginRequest * @return A Java Future containing the result of the DeleteCustomPlugin operation returned by the service. * @sample AWSKafkaConnectAsync.DeleteCustomPlugin * @see AWS API Documentation */ java.util.concurrent.Future* Deletes a custom plugin. *
* * @param deleteCustomPluginRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteCustomPlugin operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.DeleteCustomPlugin * @see AWS API Documentation */ java.util.concurrent.Future* Returns summary information about the connector. *
* * @param describeConnectorRequest * @return A Java Future containing the result of the DescribeConnector operation returned by the service. * @sample AWSKafkaConnectAsync.DescribeConnector * @see AWS * API Documentation */ java.util.concurrent.Future* Returns summary information about the connector. *
* * @param describeConnectorRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeConnector operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.DescribeConnector * @see AWS * API Documentation */ java.util.concurrent.Future* A summary description of the custom plugin. *
* * @param describeCustomPluginRequest * @return A Java Future containing the result of the DescribeCustomPlugin operation returned by the service. * @sample AWSKafkaConnectAsync.DescribeCustomPlugin * @see AWS API Documentation */ java.util.concurrent.Future* A summary description of the custom plugin. *
* * @param describeCustomPluginRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeCustomPlugin operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.DescribeCustomPlugin * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about a worker configuration. *
* * @param describeWorkerConfigurationRequest * @return A Java Future containing the result of the DescribeWorkerConfiguration operation returned by the service. * @sample AWSKafkaConnectAsync.DescribeWorkerConfiguration * @see AWS API Documentation */ java.util.concurrent.Future* Returns information about a worker configuration. *
* * @param describeWorkerConfigurationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeWorkerConfiguration operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.DescribeWorkerConfiguration * @see AWS API Documentation */ java.util.concurrent.Future* Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name * starts with the specified prefix. The response also includes a description of each of the listed connectors. *
* * @param listConnectorsRequest * @return A Java Future containing the result of the ListConnectors operation returned by the service. * @sample AWSKafkaConnectAsync.ListConnectors * @see AWS * API Documentation */ java.util.concurrent.Future* Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name * starts with the specified prefix. The response also includes a description of each of the listed connectors. *
* * @param listConnectorsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListConnectors operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.ListConnectors * @see AWS * API Documentation */ java.util.concurrent.Future* Returns a list of all of the custom plugins in this account and Region. *
* * @param listCustomPluginsRequest * @return A Java Future containing the result of the ListCustomPlugins operation returned by the service. * @sample AWSKafkaConnectAsync.ListCustomPlugins * @see AWS * API Documentation */ java.util.concurrent.Future* Returns a list of all of the custom plugins in this account and Region. *
* * @param listCustomPluginsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListCustomPlugins operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.ListCustomPlugins * @see AWS * API Documentation */ java.util.concurrent.Future* Returns a list of all of the worker configurations in this account and Region. *
* * @param listWorkerConfigurationsRequest * @return A Java Future containing the result of the ListWorkerConfigurations operation returned by the service. * @sample AWSKafkaConnectAsync.ListWorkerConfigurations * @see AWS API Documentation */ java.util.concurrent.Future* Returns a list of all of the worker configurations in this account and Region. *
* * @param listWorkerConfigurationsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListWorkerConfigurations operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.ListWorkerConfigurations * @see AWS API Documentation */ java.util.concurrent.Future* Updates the specified connector. *
* * @param updateConnectorRequest * @return A Java Future containing the result of the UpdateConnector operation returned by the service. * @sample AWSKafkaConnectAsync.UpdateConnector * @see AWS * API Documentation */ java.util.concurrent.Future* Updates the specified connector. *
* * @param updateConnectorRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateConnector operation returned by the service. * @sample AWSKafkaConnectAsyncHandler.UpdateConnector * @see AWS * API Documentation */ java.util.concurrent.Future