@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSKafkaAsyncClient extends AWSKafkaClient implements AWSKafkaAsync
AsyncHandler
can be used to receive notification when an
asynchronous operation completes.
The operations for managing an Amazon MSK cluster.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createCluster, createConfiguration, deleteCluster, describeCluster, describeConfiguration, describeConfigurationRevision, getBootstrapBrokers, getCachedResponseMetadata, listClusters, listConfigurations, listNodes, listTagsForResource, tagResource, untagResource
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
createCluster, createConfiguration, deleteCluster, describeCluster, describeConfiguration, describeConfigurationRevision, getBootstrapBrokers, getCachedResponseMetadata, listClusters, listConfigurations, listNodes, listTagsForResource, tagResource, untagResource
public static AWSKafkaAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AWSKafkaAsync
Creates a new MSK cluster.
createClusterAsync
in interface AWSKafkaAsync
public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AWSKafkaAsync
Creates a new MSK cluster.
createClusterAsync
in interface AWSKafkaAsync
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<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request)
AWSKafkaAsync
Creates a new MSK configuration.
createConfigurationAsync
in interface AWSKafkaAsync
public Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request, AsyncHandler<CreateConfigurationRequest,CreateConfigurationResult> asyncHandler)
AWSKafkaAsync
Creates a new MSK configuration.
createConfigurationAsync
in interface AWSKafkaAsync
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<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AWSKafkaAsync
Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterAsync
in interface AWSKafkaAsync
public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AWSKafkaAsync
Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterAsync
in interface AWSKafkaAsync
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<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request)
AWSKafkaAsync
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterAsync
in interface AWSKafkaAsync
public Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request, AsyncHandler<DescribeClusterRequest,DescribeClusterResult> asyncHandler)
AWSKafkaAsync
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterAsync
in interface AWSKafkaAsync
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<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request)
AWSKafkaAsync
Returns a description of this MSK configuration.
describeConfigurationAsync
in interface AWSKafkaAsync
public Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request, AsyncHandler<DescribeConfigurationRequest,DescribeConfigurationResult> asyncHandler)
AWSKafkaAsync
Returns a description of this MSK configuration.
describeConfigurationAsync
in interface AWSKafkaAsync
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<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request)
AWSKafkaAsync
Returns a description of this revision of the configuration.
describeConfigurationRevisionAsync
in interface AWSKafkaAsync
public Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, AsyncHandler<DescribeConfigurationRevisionRequest,DescribeConfigurationRevisionResult> asyncHandler)
AWSKafkaAsync
Returns a description of this revision of the configuration.
describeConfigurationRevisionAsync
in interface AWSKafkaAsync
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<GetBootstrapBrokersResult> getBootstrapBrokersAsync(GetBootstrapBrokersRequest request)
AWSKafkaAsync
A list of brokers that a client application can use to bootstrap.
getBootstrapBrokersAsync
in interface AWSKafkaAsync
public Future<GetBootstrapBrokersResult> getBootstrapBrokersAsync(GetBootstrapBrokersRequest request, AsyncHandler<GetBootstrapBrokersRequest,GetBootstrapBrokersResult> asyncHandler)
AWSKafkaAsync
A list of brokers that a client application can use to bootstrap.
getBootstrapBrokersAsync
in interface AWSKafkaAsync
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<ListClustersResult> listClustersAsync(ListClustersRequest request)
AWSKafkaAsync
Returns a list of clusters in an account.
listClustersAsync
in interface AWSKafkaAsync
public Future<ListClustersResult> listClustersAsync(ListClustersRequest request, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
AWSKafkaAsync
Returns a list of clusters in an account.
listClustersAsync
in interface AWSKafkaAsync
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<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request)
AWSKafkaAsync
Returns a list of all the MSK configurations in this Region for this account.
listConfigurationsAsync
in interface AWSKafkaAsync
public Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AWSKafkaAsync
Returns a list of all the MSK configurations in this Region for this account.
listConfigurationsAsync
in interface AWSKafkaAsync
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<ListNodesResult> listNodesAsync(ListNodesRequest request)
AWSKafkaAsync
Returns a list of the broker nodes in the cluster.
listNodesAsync
in interface AWSKafkaAsync
public Future<ListNodesResult> listNodesAsync(ListNodesRequest request, AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
AWSKafkaAsync
Returns a list of the broker nodes in the cluster.
listNodesAsync
in interface AWSKafkaAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSKafkaAsync
Returns a list of tags attached to a resource.
listTagsForResourceAsync
in interface AWSKafkaAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSKafkaAsync
Returns a list of tags attached to a resource.
listTagsForResourceAsync
in interface AWSKafkaAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSKafkaAsync
Tag a resource with given tags.
tagResourceAsync
in interface AWSKafkaAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSKafkaAsync
Tag a resource with given tags.
tagResourceAsync
in interface AWSKafkaAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSKafkaAsync
Remove tags of a resource by given tag keys.
untagResourceAsync
in interface AWSKafkaAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSKafkaAsync
Remove tags of a resource by given tag keys.
untagResourceAsync
in interface AWSKafkaAsync
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 AWSKafka
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.