@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_METRICENDPOINT_PREFIXbatchAssociateScramSecret, batchDisassociateScramSecret, builder, createCluster, createClusterV2, createConfiguration, createReplicator, createVpcConnection, deleteCluster, deleteClusterPolicy, deleteConfiguration, deleteReplicator, deleteVpcConnection, describeCluster, describeClusterOperation, describeClusterOperationV2, describeClusterV2, describeConfiguration, describeConfigurationRevision, describeReplicator, describeVpcConnection, getBootstrapBrokers, getCachedResponseMetadata, getClusterPolicy, getCompatibleKafkaVersions, listClientVpcConnections, listClusterOperations, listClusterOperationsV2, listClusters, listClustersV2, listConfigurationRevisions, listConfigurations, listKafkaVersions, listNodes, listReplicators, listScramSecrets, listTagsForResource, listVpcConnections, putClusterPolicy, rebootBroker, rejectClientVpcConnection, tagResource, untagResource, updateBrokerCount, updateBrokerStorage, updateBrokerType, updateClusterConfiguration, updateClusterKafkaVersion, updateConfiguration, updateConnectivity, updateMonitoring, updateReplicationInfo, updateSecurity, updateStorageaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchAssociateScramSecret, batchDisassociateScramSecret, createCluster, createClusterV2, createConfiguration, createReplicator, createVpcConnection, deleteCluster, deleteClusterPolicy, deleteConfiguration, deleteReplicator, deleteVpcConnection, describeCluster, describeClusterOperation, describeClusterOperationV2, describeClusterV2, describeConfiguration, describeConfigurationRevision, describeReplicator, describeVpcConnection, getBootstrapBrokers, getCachedResponseMetadata, getClusterPolicy, getCompatibleKafkaVersions, listClientVpcConnections, listClusterOperations, listClusterOperationsV2, listClusters, listClustersV2, listConfigurationRevisions, listConfigurations, listKafkaVersions, listNodes, listReplicators, listScramSecrets, listTagsForResource, listVpcConnections, putClusterPolicy, rebootBroker, rejectClientVpcConnection, tagResource, untagResource, updateBrokerCount, updateBrokerStorage, updateBrokerType, updateClusterConfiguration, updateClusterKafkaVersion, updateConfiguration, updateConnectivity, updateMonitoring, updateReplicationInfo, updateSecurity, updateStoragepublic static AWSKafkaAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchAssociateScramSecretResult> batchAssociateScramSecretAsync(BatchAssociateScramSecretRequest request)
AWSKafkaAsyncAssociates one or more Scram Secrets with an Amazon MSK cluster.
batchAssociateScramSecretAsync in interface AWSKafkaAsyncrequest - Associates sasl scram secrets to cluster.
public Future<BatchAssociateScramSecretResult> batchAssociateScramSecretAsync(BatchAssociateScramSecretRequest request, AsyncHandler<BatchAssociateScramSecretRequest,BatchAssociateScramSecretResult> asyncHandler)
AWSKafkaAsyncAssociates one or more Scram Secrets with an Amazon MSK cluster.
batchAssociateScramSecretAsync in interface AWSKafkaAsyncrequest - Associates sasl scram secrets to cluster.
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<BatchDisassociateScramSecretResult> batchDisassociateScramSecretAsync(BatchDisassociateScramSecretRequest request)
AWSKafkaAsyncDisassociates one or more Scram Secrets from an Amazon MSK cluster.
batchDisassociateScramSecretAsync in interface AWSKafkaAsyncrequest - Disassociates sasl scram secrets to cluster.
public Future<BatchDisassociateScramSecretResult> batchDisassociateScramSecretAsync(BatchDisassociateScramSecretRequest request, AsyncHandler<BatchDisassociateScramSecretRequest,BatchDisassociateScramSecretResult> asyncHandler)
AWSKafkaAsyncDisassociates one or more Scram Secrets from an Amazon MSK cluster.
batchDisassociateScramSecretAsync in interface AWSKafkaAsyncrequest - Disassociates sasl scram secrets to cluster.
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<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterAsync in interface AWSKafkaAsyncpublic Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterAsync in interface AWSKafkaAsyncasyncHandler - 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<CreateClusterV2Result> createClusterV2Async(CreateClusterV2Request request)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterV2Async in interface AWSKafkaAsyncpublic Future<CreateClusterV2Result> createClusterV2Async(CreateClusterV2Request request, AsyncHandler<CreateClusterV2Request,CreateClusterV2Result> asyncHandler)
AWSKafkaAsyncCreates a new MSK cluster.
createClusterV2Async in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncCreates a new MSK configuration.
createConfigurationAsync in interface AWSKafkaAsyncpublic Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request, AsyncHandler<CreateConfigurationRequest,CreateConfigurationResult> asyncHandler)
AWSKafkaAsyncCreates a new MSK configuration.
createConfigurationAsync in interface AWSKafkaAsyncasyncHandler - 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<CreateReplicatorResult> createReplicatorAsync(CreateReplicatorRequest request)
AWSKafkaAsyncCreates the replicator.
createReplicatorAsync in interface AWSKafkaAsyncrequest - Creates a replicator using the specified configuration.public Future<CreateReplicatorResult> createReplicatorAsync(CreateReplicatorRequest request, AsyncHandler<CreateReplicatorRequest,CreateReplicatorResult> asyncHandler)
AWSKafkaAsyncCreates the replicator.
createReplicatorAsync in interface AWSKafkaAsyncrequest - Creates a replicator using the specified configuration.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<CreateVpcConnectionResult> createVpcConnectionAsync(CreateVpcConnectionRequest request)
AWSKafkaAsyncCreates a new MSK VPC connection.
createVpcConnectionAsync in interface AWSKafkaAsyncpublic Future<CreateVpcConnectionResult> createVpcConnectionAsync(CreateVpcConnectionRequest request, AsyncHandler<CreateVpcConnectionRequest,CreateVpcConnectionResult> asyncHandler)
AWSKafkaAsyncCreates a new MSK VPC connection.
createVpcConnectionAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncDeletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterAsync in interface AWSKafkaAsyncpublic Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AWSKafkaAsyncDeletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
deleteClusterAsync in interface AWSKafkaAsyncasyncHandler - 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<DeleteClusterPolicyResult> deleteClusterPolicyAsync(DeleteClusterPolicyRequest request)
AWSKafkaAsyncDeletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.
deleteClusterPolicyAsync in interface AWSKafkaAsyncpublic Future<DeleteClusterPolicyResult> deleteClusterPolicyAsync(DeleteClusterPolicyRequest request, AsyncHandler<DeleteClusterPolicyRequest,DeleteClusterPolicyResult> asyncHandler)
AWSKafkaAsyncDeletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.
deleteClusterPolicyAsync in interface AWSKafkaAsyncasyncHandler - 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<DeleteConfigurationResult> deleteConfigurationAsync(DeleteConfigurationRequest request)
AWSKafkaAsyncDeletes an MSK Configuration.
deleteConfigurationAsync in interface AWSKafkaAsyncpublic Future<DeleteConfigurationResult> deleteConfigurationAsync(DeleteConfigurationRequest request, AsyncHandler<DeleteConfigurationRequest,DeleteConfigurationResult> asyncHandler)
AWSKafkaAsyncDeletes an MSK Configuration.
deleteConfigurationAsync in interface AWSKafkaAsyncasyncHandler - 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<DeleteReplicatorResult> deleteReplicatorAsync(DeleteReplicatorRequest request)
AWSKafkaAsyncDeletes a replicator.
deleteReplicatorAsync in interface AWSKafkaAsyncpublic Future<DeleteReplicatorResult> deleteReplicatorAsync(DeleteReplicatorRequest request, AsyncHandler<DeleteReplicatorRequest,DeleteReplicatorResult> asyncHandler)
AWSKafkaAsyncDeletes a replicator.
deleteReplicatorAsync in interface AWSKafkaAsyncasyncHandler - 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<DeleteVpcConnectionResult> deleteVpcConnectionAsync(DeleteVpcConnectionRequest request)
AWSKafkaAsyncDeletes a MSK VPC connection.
deleteVpcConnectionAsync in interface AWSKafkaAsyncpublic Future<DeleteVpcConnectionResult> deleteVpcConnectionAsync(DeleteVpcConnectionRequest request, AsyncHandler<DeleteVpcConnectionRequest,DeleteVpcConnectionResult> asyncHandler)
AWSKafkaAsyncDeletes a MSK VPC connection.
deleteVpcConnectionAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterAsync in interface AWSKafkaAsyncpublic Future<DescribeClusterResult> describeClusterAsync(DescribeClusterRequest request, AsyncHandler<DescribeClusterRequest,DescribeClusterResult> asyncHandler)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterAsync in interface AWSKafkaAsyncasyncHandler - 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<DescribeClusterOperationResult> describeClusterOperationAsync(DescribeClusterOperationRequest request)
AWSKafkaAsyncReturns a description of the cluster operation specified by the ARN.
describeClusterOperationAsync in interface AWSKafkaAsyncpublic Future<DescribeClusterOperationResult> describeClusterOperationAsync(DescribeClusterOperationRequest request, AsyncHandler<DescribeClusterOperationRequest,DescribeClusterOperationResult> asyncHandler)
AWSKafkaAsyncReturns a description of the cluster operation specified by the ARN.
describeClusterOperationAsync in interface AWSKafkaAsyncasyncHandler - 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<DescribeClusterOperationV2Result> describeClusterOperationV2Async(DescribeClusterOperationV2Request request)
AWSKafkaAsyncReturns a description of the cluster operation specified by the ARN.
describeClusterOperationV2Async in interface AWSKafkaAsyncpublic Future<DescribeClusterOperationV2Result> describeClusterOperationV2Async(DescribeClusterOperationV2Request request, AsyncHandler<DescribeClusterOperationV2Request,DescribeClusterOperationV2Result> asyncHandler)
AWSKafkaAsyncReturns a description of the cluster operation specified by the ARN.
describeClusterOperationV2Async in interface AWSKafkaAsyncasyncHandler - 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<DescribeClusterV2Result> describeClusterV2Async(DescribeClusterV2Request request)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterV2Async in interface AWSKafkaAsyncpublic Future<DescribeClusterV2Result> describeClusterV2Async(DescribeClusterV2Request request, AsyncHandler<DescribeClusterV2Request,DescribeClusterV2Result> asyncHandler)
AWSKafkaAsyncReturns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
describeClusterV2Async in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a description of this MSK configuration.
describeConfigurationAsync in interface AWSKafkaAsyncpublic Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request, AsyncHandler<DescribeConfigurationRequest,DescribeConfigurationResult> asyncHandler)
AWSKafkaAsyncReturns a description of this MSK configuration.
describeConfigurationAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a description of this revision of the configuration.
describeConfigurationRevisionAsync in interface AWSKafkaAsyncpublic Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, AsyncHandler<DescribeConfigurationRevisionRequest,DescribeConfigurationRevisionResult> asyncHandler)
AWSKafkaAsyncReturns a description of this revision of the configuration.
describeConfigurationRevisionAsync in interface AWSKafkaAsyncasyncHandler - 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<DescribeReplicatorResult> describeReplicatorAsync(DescribeReplicatorRequest request)
AWSKafkaAsyncDescribes a replicator.
describeReplicatorAsync in interface AWSKafkaAsyncpublic Future<DescribeReplicatorResult> describeReplicatorAsync(DescribeReplicatorRequest request, AsyncHandler<DescribeReplicatorRequest,DescribeReplicatorResult> asyncHandler)
AWSKafkaAsyncDescribes a replicator.
describeReplicatorAsync in interface AWSKafkaAsyncasyncHandler - 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<DescribeVpcConnectionResult> describeVpcConnectionAsync(DescribeVpcConnectionRequest request)
AWSKafkaAsyncReturns a description of this MSK VPC connection.
describeVpcConnectionAsync in interface AWSKafkaAsyncpublic Future<DescribeVpcConnectionResult> describeVpcConnectionAsync(DescribeVpcConnectionRequest request, AsyncHandler<DescribeVpcConnectionRequest,DescribeVpcConnectionResult> asyncHandler)
AWSKafkaAsyncReturns a description of this MSK VPC connection.
describeVpcConnectionAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncA list of brokers that a client application can use to bootstrap.
getBootstrapBrokersAsync in interface AWSKafkaAsyncpublic Future<GetBootstrapBrokersResult> getBootstrapBrokersAsync(GetBootstrapBrokersRequest request, AsyncHandler<GetBootstrapBrokersRequest,GetBootstrapBrokersResult> asyncHandler)
AWSKafkaAsyncA list of brokers that a client application can use to bootstrap.
getBootstrapBrokersAsync in interface AWSKafkaAsyncasyncHandler - 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<GetClusterPolicyResult> getClusterPolicyAsync(GetClusterPolicyRequest request)
AWSKafkaAsyncGet the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.
getClusterPolicyAsync in interface AWSKafkaAsyncpublic Future<GetClusterPolicyResult> getClusterPolicyAsync(GetClusterPolicyRequest request, AsyncHandler<GetClusterPolicyRequest,GetClusterPolicyResult> asyncHandler)
AWSKafkaAsyncGet the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.
getClusterPolicyAsync in interface AWSKafkaAsyncasyncHandler - 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<GetCompatibleKafkaVersionsResult> getCompatibleKafkaVersionsAsync(GetCompatibleKafkaVersionsRequest request)
AWSKafkaAsyncGets the Apache Kafka versions to which you can update the MSK cluster.
getCompatibleKafkaVersionsAsync in interface AWSKafkaAsyncpublic Future<GetCompatibleKafkaVersionsResult> getCompatibleKafkaVersionsAsync(GetCompatibleKafkaVersionsRequest request, AsyncHandler<GetCompatibleKafkaVersionsRequest,GetCompatibleKafkaVersionsResult> asyncHandler)
AWSKafkaAsyncGets the Apache Kafka versions to which you can update the MSK cluster.
getCompatibleKafkaVersionsAsync in interface AWSKafkaAsyncasyncHandler - 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<ListClientVpcConnectionsResult> listClientVpcConnectionsAsync(ListClientVpcConnectionsRequest request)
AWSKafkaAsyncReturns a list of all the VPC connections in this Region.
listClientVpcConnectionsAsync in interface AWSKafkaAsyncpublic Future<ListClientVpcConnectionsResult> listClientVpcConnectionsAsync(ListClientVpcConnectionsRequest request, AsyncHandler<ListClientVpcConnectionsRequest,ListClientVpcConnectionsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the VPC connections in this Region.
listClientVpcConnectionsAsync in interface AWSKafkaAsyncasyncHandler - 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<ListClusterOperationsResult> listClusterOperationsAsync(ListClusterOperationsRequest request)
AWSKafkaAsyncReturns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsAsync in interface AWSKafkaAsyncpublic Future<ListClusterOperationsResult> listClusterOperationsAsync(ListClusterOperationsRequest request, AsyncHandler<ListClusterOperationsRequest,ListClusterOperationsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsAsync in interface AWSKafkaAsyncasyncHandler - 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<ListClusterOperationsV2Result> listClusterOperationsV2Async(ListClusterOperationsV2Request request)
AWSKafkaAsyncReturns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsV2Async in interface AWSKafkaAsyncpublic Future<ListClusterOperationsV2Result> listClusterOperationsV2Async(ListClusterOperationsV2Request request, AsyncHandler<ListClusterOperationsV2Request,ListClusterOperationsV2Result> asyncHandler)
AWSKafkaAsyncReturns a list of all the operations that have been performed on the specified MSK cluster.
listClusterOperationsV2Async in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersAsync in interface AWSKafkaAsyncpublic Future<ListClustersResult> listClustersAsync(ListClustersRequest request, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersAsync in interface AWSKafkaAsyncasyncHandler - 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<ListClustersV2Result> listClustersV2Async(ListClustersV2Request request)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersV2Async in interface AWSKafkaAsyncpublic Future<ListClustersV2Result> listClustersV2Async(ListClustersV2Request request, AsyncHandler<ListClustersV2Request,ListClustersV2Result> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK clusters in the current Region.
listClustersV2Async in interface AWSKafkaAsyncasyncHandler - 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<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationRevisionsAsync in interface AWSKafkaAsyncpublic Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request, AsyncHandler<ListConfigurationRevisionsRequest,ListConfigurationRevisionsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationRevisionsAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationsAsync in interface AWSKafkaAsyncpublic Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the MSK configurations in this Region.
listConfigurationsAsync in interface AWSKafkaAsyncasyncHandler - 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<ListKafkaVersionsResult> listKafkaVersionsAsync(ListKafkaVersionsRequest request)
AWSKafkaAsyncReturns a list of Apache Kafka versions.
listKafkaVersionsAsync in interface AWSKafkaAsyncpublic Future<ListKafkaVersionsResult> listKafkaVersionsAsync(ListKafkaVersionsRequest request, AsyncHandler<ListKafkaVersionsRequest,ListKafkaVersionsResult> asyncHandler)
AWSKafkaAsyncReturns a list of Apache Kafka versions.
listKafkaVersionsAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a list of the broker nodes in the cluster.
listNodesAsync in interface AWSKafkaAsyncpublic Future<ListNodesResult> listNodesAsync(ListNodesRequest request, AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
AWSKafkaAsyncReturns a list of the broker nodes in the cluster.
listNodesAsync in interface AWSKafkaAsyncasyncHandler - 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<ListReplicatorsResult> listReplicatorsAsync(ListReplicatorsRequest request)
AWSKafkaAsyncLists the replicators.
listReplicatorsAsync in interface AWSKafkaAsyncpublic Future<ListReplicatorsResult> listReplicatorsAsync(ListReplicatorsRequest request, AsyncHandler<ListReplicatorsRequest,ListReplicatorsResult> asyncHandler)
AWSKafkaAsyncLists the replicators.
listReplicatorsAsync in interface AWSKafkaAsyncasyncHandler - 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<ListScramSecretsResult> listScramSecretsAsync(ListScramSecretsRequest request)
AWSKafkaAsyncReturns a list of the Scram Secrets associated with an Amazon MSK cluster.
listScramSecretsAsync in interface AWSKafkaAsyncpublic Future<ListScramSecretsResult> listScramSecretsAsync(ListScramSecretsRequest request, AsyncHandler<ListScramSecretsRequest,ListScramSecretsResult> asyncHandler)
AWSKafkaAsyncReturns a list of the Scram Secrets associated with an Amazon MSK cluster.
listScramSecretsAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncReturns a list of the tags associated with the specified resource.
listTagsForResourceAsync in interface AWSKafkaAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSKafkaAsyncReturns a list of the tags associated with the specified resource.
listTagsForResourceAsync in interface AWSKafkaAsyncasyncHandler - 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<ListVpcConnectionsResult> listVpcConnectionsAsync(ListVpcConnectionsRequest request)
AWSKafkaAsyncReturns a list of all the VPC connections in this Region.
listVpcConnectionsAsync in interface AWSKafkaAsyncpublic Future<ListVpcConnectionsResult> listVpcConnectionsAsync(ListVpcConnectionsRequest request, AsyncHandler<ListVpcConnectionsRequest,ListVpcConnectionsResult> asyncHandler)
AWSKafkaAsyncReturns a list of all the VPC connections in this Region.
listVpcConnectionsAsync in interface AWSKafkaAsyncasyncHandler - 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<PutClusterPolicyResult> putClusterPolicyAsync(PutClusterPolicyRequest request)
AWSKafkaAsyncCreates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.
putClusterPolicyAsync in interface AWSKafkaAsyncpublic Future<PutClusterPolicyResult> putClusterPolicyAsync(PutClusterPolicyRequest request, AsyncHandler<PutClusterPolicyRequest,PutClusterPolicyResult> asyncHandler)
AWSKafkaAsyncCreates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.
putClusterPolicyAsync in interface AWSKafkaAsyncasyncHandler - 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<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request)
AWSKafkaAsyncrebootBrokerAsync in interface AWSKafkaAsyncrequest - Reboots a node.public Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request, AsyncHandler<RebootBrokerRequest,RebootBrokerResult> asyncHandler)
AWSKafkaAsyncrebootBrokerAsync in interface AWSKafkaAsyncrequest - Reboots a node.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<RejectClientVpcConnectionResult> rejectClientVpcConnectionAsync(RejectClientVpcConnectionRequest request)
AWSKafkaAsyncReturns empty response.
rejectClientVpcConnectionAsync in interface AWSKafkaAsyncpublic Future<RejectClientVpcConnectionResult> rejectClientVpcConnectionAsync(RejectClientVpcConnectionRequest request, AsyncHandler<RejectClientVpcConnectionRequest,RejectClientVpcConnectionResult> asyncHandler)
AWSKafkaAsyncReturns empty response.
rejectClientVpcConnectionAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncAdds tags to the specified MSK resource.
tagResourceAsync in interface AWSKafkaAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSKafkaAsyncAdds tags to the specified MSK resource.
tagResourceAsync in interface AWSKafkaAsyncasyncHandler - 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)
AWSKafkaAsyncRemoves the tags associated with the keys that are provided in the query.
untagResourceAsync in interface AWSKafkaAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSKafkaAsyncRemoves the tags associated with the keys that are provided in the query.
untagResourceAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateBrokerCountResult> updateBrokerCountAsync(UpdateBrokerCountRequest request)
AWSKafkaAsyncUpdates the number of broker nodes in the cluster.
updateBrokerCountAsync in interface AWSKafkaAsyncpublic Future<UpdateBrokerCountResult> updateBrokerCountAsync(UpdateBrokerCountRequest request, AsyncHandler<UpdateBrokerCountRequest,UpdateBrokerCountResult> asyncHandler)
AWSKafkaAsyncUpdates the number of broker nodes in the cluster.
updateBrokerCountAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateBrokerStorageResult> updateBrokerStorageAsync(UpdateBrokerStorageRequest request)
AWSKafkaAsyncUpdates the EBS storage associated with MSK brokers.
updateBrokerStorageAsync in interface AWSKafkaAsyncpublic Future<UpdateBrokerStorageResult> updateBrokerStorageAsync(UpdateBrokerStorageRequest request, AsyncHandler<UpdateBrokerStorageRequest,UpdateBrokerStorageResult> asyncHandler)
AWSKafkaAsyncUpdates the EBS storage associated with MSK brokers.
updateBrokerStorageAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateBrokerTypeResult> updateBrokerTypeAsync(UpdateBrokerTypeRequest request)
AWSKafkaAsyncUpdates EC2 instance type.
updateBrokerTypeAsync in interface AWSKafkaAsyncpublic Future<UpdateBrokerTypeResult> updateBrokerTypeAsync(UpdateBrokerTypeRequest request, AsyncHandler<UpdateBrokerTypeRequest,UpdateBrokerTypeResult> asyncHandler)
AWSKafkaAsyncUpdates EC2 instance type.
updateBrokerTypeAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateClusterConfigurationResult> updateClusterConfigurationAsync(UpdateClusterConfigurationRequest request)
AWSKafkaAsyncUpdates the cluster with the configuration that is specified in the request body.
updateClusterConfigurationAsync in interface AWSKafkaAsyncpublic Future<UpdateClusterConfigurationResult> updateClusterConfigurationAsync(UpdateClusterConfigurationRequest request, AsyncHandler<UpdateClusterConfigurationRequest,UpdateClusterConfigurationResult> asyncHandler)
AWSKafkaAsyncUpdates the cluster with the configuration that is specified in the request body.
updateClusterConfigurationAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateClusterKafkaVersionResult> updateClusterKafkaVersionAsync(UpdateClusterKafkaVersionRequest request)
AWSKafkaAsyncUpdates the Apache Kafka version for the cluster.
updateClusterKafkaVersionAsync in interface AWSKafkaAsyncpublic Future<UpdateClusterKafkaVersionResult> updateClusterKafkaVersionAsync(UpdateClusterKafkaVersionRequest request, AsyncHandler<UpdateClusterKafkaVersionRequest,UpdateClusterKafkaVersionResult> asyncHandler)
AWSKafkaAsyncUpdates the Apache Kafka version for the cluster.
updateClusterKafkaVersionAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request)
AWSKafkaAsyncUpdates an MSK configuration.
updateConfigurationAsync in interface AWSKafkaAsyncpublic Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResult> asyncHandler)
AWSKafkaAsyncUpdates an MSK configuration.
updateConfigurationAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateConnectivityResult> updateConnectivityAsync(UpdateConnectivityRequest request)
AWSKafkaAsyncUpdates the cluster's connectivity configuration.
updateConnectivityAsync in interface AWSKafkaAsyncrequest - Request body for UpdateConnectivity.public Future<UpdateConnectivityResult> updateConnectivityAsync(UpdateConnectivityRequest request, AsyncHandler<UpdateConnectivityRequest,UpdateConnectivityResult> asyncHandler)
AWSKafkaAsyncUpdates the cluster's connectivity configuration.
updateConnectivityAsync in interface AWSKafkaAsyncrequest - Request body for UpdateConnectivity.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<UpdateMonitoringResult> updateMonitoringAsync(UpdateMonitoringRequest request)
AWSKafkaAsyncUpdates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
updateMonitoringAsync in interface AWSKafkaAsyncrequest - Request body for UpdateMonitoring.public Future<UpdateMonitoringResult> updateMonitoringAsync(UpdateMonitoringRequest request, AsyncHandler<UpdateMonitoringRequest,UpdateMonitoringResult> asyncHandler)
AWSKafkaAsyncUpdates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
updateMonitoringAsync in interface AWSKafkaAsyncrequest - Request body for UpdateMonitoring.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<UpdateReplicationInfoResult> updateReplicationInfoAsync(UpdateReplicationInfoRequest request)
AWSKafkaAsyncUpdates replication info of a replicator.
updateReplicationInfoAsync in interface AWSKafkaAsyncrequest - Update information relating to replication between a given source and target Kafka cluster.public Future<UpdateReplicationInfoResult> updateReplicationInfoAsync(UpdateReplicationInfoRequest request, AsyncHandler<UpdateReplicationInfoRequest,UpdateReplicationInfoResult> asyncHandler)
AWSKafkaAsyncUpdates replication info of a replicator.
updateReplicationInfoAsync in interface AWSKafkaAsyncrequest - Update information relating to replication between a given source and target Kafka cluster.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<UpdateSecurityResult> updateSecurityAsync(UpdateSecurityRequest request)
AWSKafkaAsyncUpdates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
updateSecurityAsync in interface AWSKafkaAsyncpublic Future<UpdateSecurityResult> updateSecurityAsync(UpdateSecurityRequest request, AsyncHandler<UpdateSecurityRequest,UpdateSecurityResult> asyncHandler)
AWSKafkaAsyncUpdates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.
updateSecurityAsync in interface AWSKafkaAsyncasyncHandler - 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<UpdateStorageResult> updateStorageAsync(UpdateStorageRequest request)
AWSKafkaAsyncupdateStorageAsync in interface AWSKafkaAsyncrequest - Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.
public Future<UpdateStorageResult> updateStorageAsync(UpdateStorageRequest request, AsyncHandler<UpdateStorageRequest,UpdateStorageResult> asyncHandler)
AWSKafkaAsyncupdateStorageAsync in interface AWSKafkaAsyncrequest - Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.
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 AWSKafkashutdown in class AWSKafkaClient