@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSKafkaConnectAsyncClient extends AWSKafkaConnectClient implements AWSKafkaConnectAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createConnector, createCustomPlugin, createWorkerConfiguration, deleteConnector, deleteCustomPlugin, describeConnector, describeCustomPlugin, describeWorkerConfiguration, getCachedResponseMetadata, listConnectors, listCustomPlugins, listWorkerConfigurations, updateConnector
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnector, createCustomPlugin, createWorkerConfiguration, deleteConnector, deleteCustomPlugin, describeConnector, describeCustomPlugin, describeWorkerConfiguration, getCachedResponseMetadata, listConnectors, listCustomPlugins, listWorkerConfigurations, updateConnector
public static AWSKafkaConnectAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateConnectorResult> createConnectorAsync(CreateConnectorRequest request)
AWSKafkaConnectAsync
Creates a connector using the specified properties.
createConnectorAsync
in interface AWSKafkaConnectAsync
public Future<CreateConnectorResult> createConnectorAsync(CreateConnectorRequest request, AsyncHandler<CreateConnectorRequest,CreateConnectorResult> asyncHandler)
AWSKafkaConnectAsync
Creates a connector using the specified properties.
createConnectorAsync
in interface AWSKafkaConnectAsync
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.public Future<CreateCustomPluginResult> createCustomPluginAsync(CreateCustomPluginRequest request)
AWSKafkaConnectAsync
Creates a custom plugin using the specified properties.
createCustomPluginAsync
in interface AWSKafkaConnectAsync
public Future<CreateCustomPluginResult> createCustomPluginAsync(CreateCustomPluginRequest request, AsyncHandler<CreateCustomPluginRequest,CreateCustomPluginResult> asyncHandler)
AWSKafkaConnectAsync
Creates a custom plugin using the specified properties.
createCustomPluginAsync
in interface AWSKafkaConnectAsync
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.public Future<CreateWorkerConfigurationResult> createWorkerConfigurationAsync(CreateWorkerConfigurationRequest request)
AWSKafkaConnectAsync
Creates a worker configuration using the specified properties.
createWorkerConfigurationAsync
in interface AWSKafkaConnectAsync
public Future<CreateWorkerConfigurationResult> createWorkerConfigurationAsync(CreateWorkerConfigurationRequest request, AsyncHandler<CreateWorkerConfigurationRequest,CreateWorkerConfigurationResult> asyncHandler)
AWSKafkaConnectAsync
Creates a worker configuration using the specified properties.
createWorkerConfigurationAsync
in interface AWSKafkaConnectAsync
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.public Future<DeleteConnectorResult> deleteConnectorAsync(DeleteConnectorRequest request)
AWSKafkaConnectAsync
Deletes the specified connector.
deleteConnectorAsync
in interface AWSKafkaConnectAsync
public Future<DeleteConnectorResult> deleteConnectorAsync(DeleteConnectorRequest request, AsyncHandler<DeleteConnectorRequest,DeleteConnectorResult> asyncHandler)
AWSKafkaConnectAsync
Deletes the specified connector.
deleteConnectorAsync
in interface AWSKafkaConnectAsync
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.public Future<DeleteCustomPluginResult> deleteCustomPluginAsync(DeleteCustomPluginRequest request)
AWSKafkaConnectAsync
Deletes a custom plugin.
deleteCustomPluginAsync
in interface AWSKafkaConnectAsync
public Future<DeleteCustomPluginResult> deleteCustomPluginAsync(DeleteCustomPluginRequest request, AsyncHandler<DeleteCustomPluginRequest,DeleteCustomPluginResult> asyncHandler)
AWSKafkaConnectAsync
Deletes a custom plugin.
deleteCustomPluginAsync
in interface AWSKafkaConnectAsync
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.public Future<DescribeConnectorResult> describeConnectorAsync(DescribeConnectorRequest request)
AWSKafkaConnectAsync
Returns summary information about the connector.
describeConnectorAsync
in interface AWSKafkaConnectAsync
public Future<DescribeConnectorResult> describeConnectorAsync(DescribeConnectorRequest request, AsyncHandler<DescribeConnectorRequest,DescribeConnectorResult> asyncHandler)
AWSKafkaConnectAsync
Returns summary information about the connector.
describeConnectorAsync
in interface AWSKafkaConnectAsync
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.public Future<DescribeCustomPluginResult> describeCustomPluginAsync(DescribeCustomPluginRequest request)
AWSKafkaConnectAsync
A summary description of the custom plugin.
describeCustomPluginAsync
in interface AWSKafkaConnectAsync
public Future<DescribeCustomPluginResult> describeCustomPluginAsync(DescribeCustomPluginRequest request, AsyncHandler<DescribeCustomPluginRequest,DescribeCustomPluginResult> asyncHandler)
AWSKafkaConnectAsync
A summary description of the custom plugin.
describeCustomPluginAsync
in interface AWSKafkaConnectAsync
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.public Future<DescribeWorkerConfigurationResult> describeWorkerConfigurationAsync(DescribeWorkerConfigurationRequest request)
AWSKafkaConnectAsync
Returns information about a worker configuration.
describeWorkerConfigurationAsync
in interface AWSKafkaConnectAsync
public Future<DescribeWorkerConfigurationResult> describeWorkerConfigurationAsync(DescribeWorkerConfigurationRequest request, AsyncHandler<DescribeWorkerConfigurationRequest,DescribeWorkerConfigurationResult> asyncHandler)
AWSKafkaConnectAsync
Returns information about a worker configuration.
describeWorkerConfigurationAsync
in interface AWSKafkaConnectAsync
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.public Future<ListConnectorsResult> listConnectorsAsync(ListConnectorsRequest request)
AWSKafkaConnectAsync
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.
listConnectorsAsync
in interface AWSKafkaConnectAsync
public Future<ListConnectorsResult> listConnectorsAsync(ListConnectorsRequest request, AsyncHandler<ListConnectorsRequest,ListConnectorsResult> asyncHandler)
AWSKafkaConnectAsync
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.
listConnectorsAsync
in interface AWSKafkaConnectAsync
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.public Future<ListCustomPluginsResult> listCustomPluginsAsync(ListCustomPluginsRequest request)
AWSKafkaConnectAsync
Returns a list of all of the custom plugins in this account and Region.
listCustomPluginsAsync
in interface AWSKafkaConnectAsync
public Future<ListCustomPluginsResult> listCustomPluginsAsync(ListCustomPluginsRequest request, AsyncHandler<ListCustomPluginsRequest,ListCustomPluginsResult> asyncHandler)
AWSKafkaConnectAsync
Returns a list of all of the custom plugins in this account and Region.
listCustomPluginsAsync
in interface AWSKafkaConnectAsync
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.public Future<ListWorkerConfigurationsResult> listWorkerConfigurationsAsync(ListWorkerConfigurationsRequest request)
AWSKafkaConnectAsync
Returns a list of all of the worker configurations in this account and Region.
listWorkerConfigurationsAsync
in interface AWSKafkaConnectAsync
public Future<ListWorkerConfigurationsResult> listWorkerConfigurationsAsync(ListWorkerConfigurationsRequest request, AsyncHandler<ListWorkerConfigurationsRequest,ListWorkerConfigurationsResult> asyncHandler)
AWSKafkaConnectAsync
Returns a list of all of the worker configurations in this account and Region.
listWorkerConfigurationsAsync
in interface AWSKafkaConnectAsync
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.public Future<UpdateConnectorResult> updateConnectorAsync(UpdateConnectorRequest request)
AWSKafkaConnectAsync
Updates the specified connector.
updateConnectorAsync
in interface AWSKafkaConnectAsync
public Future<UpdateConnectorResult> updateConnectorAsync(UpdateConnectorRequest request, AsyncHandler<UpdateConnectorRequest,UpdateConnectorResult> asyncHandler)
AWSKafkaConnectAsync
Updates the specified connector.
updateConnectorAsync
in interface AWSKafkaConnectAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSKafkaConnect
shutdown
in class AWSKafkaConnectClient