@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonMQAsyncClient extends AmazonMQClient implements AmazonMQAsync
AsyncHandler can be used to receive notification when
an asynchronous operation completes.
Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createBroker, createConfiguration, createUser, deleteBroker, deleteUser, describeBroker, describeConfiguration, describeConfigurationRevision, describeUser, getCachedResponseMetadata, listBrokers, listConfigurationRevisions, listConfigurations, listUsers, rebootBroker, updateBroker, updateConfiguration, updateUseraddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, 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, waitcreateBroker, createConfiguration, createUser, deleteBroker, deleteUser, describeBroker, describeConfiguration, describeConfigurationRevision, describeUser, getCachedResponseMetadata, listBrokers, listConfigurationRevisions, listConfigurations, listUsers, rebootBroker, updateBroker, updateConfiguration, updateUserpublic static AmazonMQAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBrokerResult> createBrokerAsync(CreateBrokerRequest request)
AmazonMQAsynccreateBrokerAsync in interface AmazonMQAsyncrequest - Creates a broker using the specified properties.public Future<CreateBrokerResult> createBrokerAsync(CreateBrokerRequest request, AsyncHandler<CreateBrokerRequest,CreateBrokerResult> asyncHandler)
AmazonMQAsynccreateBrokerAsync in interface AmazonMQAsyncrequest - Creates a broker using the specified properties.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)
AmazonMQAsynccreateConfigurationAsync in interface AmazonMQAsyncrequest - Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version). Note: If the configuration name already exists, Amazon MQ doesn't create a
configuration.public Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request, AsyncHandler<CreateConfigurationRequest,CreateConfigurationResult> asyncHandler)
AmazonMQAsynccreateConfigurationAsync in interface AmazonMQAsyncrequest - Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version). Note: If the configuration name already exists, Amazon MQ doesn't create a
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<CreateUserResult> createUserAsync(CreateUserRequest request)
AmazonMQAsynccreateUserAsync in interface AmazonMQAsyncrequest - Creates a new ActiveMQ user.public Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonMQAsynccreateUserAsync in interface AmazonMQAsyncrequest - Creates a new ActiveMQ user.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<DeleteBrokerResult> deleteBrokerAsync(DeleteBrokerRequest request)
AmazonMQAsyncdeleteBrokerAsync in interface AmazonMQAsyncpublic Future<DeleteBrokerResult> deleteBrokerAsync(DeleteBrokerRequest request, AsyncHandler<DeleteBrokerRequest,DeleteBrokerResult> asyncHandler)
AmazonMQAsyncdeleteBrokerAsync in interface AmazonMQAsyncasyncHandler - 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<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonMQAsyncdeleteUserAsync in interface AmazonMQAsyncpublic Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonMQAsyncdeleteUserAsync in interface AmazonMQAsyncasyncHandler - 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<DescribeBrokerResult> describeBrokerAsync(DescribeBrokerRequest request)
AmazonMQAsyncdescribeBrokerAsync in interface AmazonMQAsyncpublic Future<DescribeBrokerResult> describeBrokerAsync(DescribeBrokerRequest request, AsyncHandler<DescribeBrokerRequest,DescribeBrokerResult> asyncHandler)
AmazonMQAsyncdescribeBrokerAsync in interface AmazonMQAsyncasyncHandler - 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)
AmazonMQAsyncdescribeConfigurationAsync in interface AmazonMQAsyncpublic Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request, AsyncHandler<DescribeConfigurationRequest,DescribeConfigurationResult> asyncHandler)
AmazonMQAsyncdescribeConfigurationAsync in interface AmazonMQAsyncasyncHandler - 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)
AmazonMQAsyncdescribeConfigurationRevisionAsync in interface AmazonMQAsyncpublic Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, AsyncHandler<DescribeConfigurationRevisionRequest,DescribeConfigurationRevisionResult> asyncHandler)
AmazonMQAsyncdescribeConfigurationRevisionAsync in interface AmazonMQAsyncasyncHandler - 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<DescribeUserResult> describeUserAsync(DescribeUserRequest request)
AmazonMQAsyncdescribeUserAsync in interface AmazonMQAsyncpublic Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request, AsyncHandler<DescribeUserRequest,DescribeUserResult> asyncHandler)
AmazonMQAsyncdescribeUserAsync in interface AmazonMQAsyncasyncHandler - 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<ListBrokersResult> listBrokersAsync(ListBrokersRequest request)
AmazonMQAsynclistBrokersAsync in interface AmazonMQAsyncpublic Future<ListBrokersResult> listBrokersAsync(ListBrokersRequest request, AsyncHandler<ListBrokersRequest,ListBrokersResult> asyncHandler)
AmazonMQAsynclistBrokersAsync in interface AmazonMQAsyncasyncHandler - 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)
AmazonMQAsynclistConfigurationRevisionsAsync in interface AmazonMQAsyncpublic Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request, AsyncHandler<ListConfigurationRevisionsRequest,ListConfigurationRevisionsResult> asyncHandler)
AmazonMQAsynclistConfigurationRevisionsAsync in interface AmazonMQAsyncasyncHandler - 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)
AmazonMQAsynclistConfigurationsAsync in interface AmazonMQAsyncpublic Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AmazonMQAsynclistConfigurationsAsync in interface AmazonMQAsyncasyncHandler - 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<ListUsersResult> listUsersAsync(ListUsersRequest request)
AmazonMQAsynclistUsersAsync in interface AmazonMQAsyncpublic Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AmazonMQAsynclistUsersAsync in interface AmazonMQAsyncasyncHandler - 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)
AmazonMQAsyncrebootBrokerAsync in interface AmazonMQAsyncpublic Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request, AsyncHandler<RebootBrokerRequest,RebootBrokerResult> asyncHandler)
AmazonMQAsyncrebootBrokerAsync in interface AmazonMQAsyncasyncHandler - 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<UpdateBrokerResult> updateBrokerAsync(UpdateBrokerRequest request)
AmazonMQAsyncupdateBrokerAsync in interface AmazonMQAsyncrequest - Updates the broker using the specified properties.public Future<UpdateBrokerResult> updateBrokerAsync(UpdateBrokerRequest request, AsyncHandler<UpdateBrokerRequest,UpdateBrokerResult> asyncHandler)
AmazonMQAsyncupdateBrokerAsync in interface AmazonMQAsyncrequest - Updates the broker using the specified properties.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<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request)
AmazonMQAsyncupdateConfigurationAsync in interface AmazonMQAsyncrequest - Updates the specified configuration.public Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResult> asyncHandler)
AmazonMQAsyncupdateConfigurationAsync in interface AmazonMQAsyncrequest - Updates 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<UpdateUserResult> updateUserAsync(UpdateUserRequest request)
AmazonMQAsyncupdateUserAsync in interface AmazonMQAsyncrequest - Updates the information for an ActiveMQ user.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request, AsyncHandler<UpdateUserRequest,UpdateUserResult> asyncHandler)
AmazonMQAsyncupdateUserAsync in interface AmazonMQAsyncrequest - Updates the information for an ActiveMQ user.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 AmazonMQshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.