@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_METRIC
ENDPOINT_PREFIX
builder, createBroker, createConfiguration, createTags, createUser, deleteBroker, deleteTags, deleteUser, describeBroker, describeBrokerEngineTypes, describeBrokerInstanceOptions, describeConfiguration, describeConfigurationRevision, describeUser, getCachedResponseMetadata, listBrokers, listConfigurationRevisions, listConfigurations, listTags, listUsers, rebootBroker, updateBroker, updateConfiguration, updateUser
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
createBroker, createConfiguration, createTags, createUser, deleteBroker, deleteTags, deleteUser, describeBroker, describeBrokerEngineTypes, describeBrokerInstanceOptions, describeConfiguration, describeConfigurationRevision, describeUser, getCachedResponseMetadata, listBrokers, listConfigurationRevisions, listConfigurations, listTags, listUsers, rebootBroker, updateBroker, updateConfiguration, updateUser
public static AmazonMQAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBrokerResult> createBrokerAsync(CreateBrokerRequest request)
AmazonMQAsync
createBrokerAsync
in interface AmazonMQAsync
request
- Creates a broker using the specified properties.public Future<CreateBrokerResult> createBrokerAsync(CreateBrokerRequest request, AsyncHandler<CreateBrokerRequest,CreateBrokerResult> asyncHandler)
AmazonMQAsync
createBrokerAsync
in interface AmazonMQAsync
request
- 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)
AmazonMQAsync
createConfigurationAsync
in interface AmazonMQAsync
request
- Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version).public Future<CreateConfigurationResult> createConfigurationAsync(CreateConfigurationRequest request, AsyncHandler<CreateConfigurationRequest,CreateConfigurationResult> asyncHandler)
AmazonMQAsync
createConfigurationAsync
in interface AmazonMQAsync
request
- Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration
(the engine type and version).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<CreateTagsResult> createTagsAsync(CreateTagsRequest request)
AmazonMQAsync
createTagsAsync
in interface AmazonMQAsync
request
- A map of the key-value pairs for the resource tag.public Future<CreateTagsResult> createTagsAsync(CreateTagsRequest request, AsyncHandler<CreateTagsRequest,CreateTagsResult> asyncHandler)
AmazonMQAsync
createTagsAsync
in interface AmazonMQAsync
request
- A map of the key-value pairs for the resource tag.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)
AmazonMQAsync
createUserAsync
in interface AmazonMQAsync
request
- Creates a new ActiveMQ user.public Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonMQAsync
createUserAsync
in interface AmazonMQAsync
request
- 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)
AmazonMQAsync
deleteBrokerAsync
in interface AmazonMQAsync
public Future<DeleteBrokerResult> deleteBrokerAsync(DeleteBrokerRequest request, AsyncHandler<DeleteBrokerRequest,DeleteBrokerResult> asyncHandler)
AmazonMQAsync
deleteBrokerAsync
in interface AmazonMQAsync
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<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request)
AmazonMQAsync
deleteTagsAsync
in interface AmazonMQAsync
public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest,DeleteTagsResult> asyncHandler)
AmazonMQAsync
deleteTagsAsync
in interface AmazonMQAsync
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<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonMQAsync
deleteUserAsync
in interface AmazonMQAsync
public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonMQAsync
deleteUserAsync
in interface AmazonMQAsync
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<DescribeBrokerResult> describeBrokerAsync(DescribeBrokerRequest request)
AmazonMQAsync
describeBrokerAsync
in interface AmazonMQAsync
public Future<DescribeBrokerResult> describeBrokerAsync(DescribeBrokerRequest request, AsyncHandler<DescribeBrokerRequest,DescribeBrokerResult> asyncHandler)
AmazonMQAsync
describeBrokerAsync
in interface AmazonMQAsync
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<DescribeBrokerEngineTypesResult> describeBrokerEngineTypesAsync(DescribeBrokerEngineTypesRequest request)
AmazonMQAsync
describeBrokerEngineTypesAsync
in interface AmazonMQAsync
public Future<DescribeBrokerEngineTypesResult> describeBrokerEngineTypesAsync(DescribeBrokerEngineTypesRequest request, AsyncHandler<DescribeBrokerEngineTypesRequest,DescribeBrokerEngineTypesResult> asyncHandler)
AmazonMQAsync
describeBrokerEngineTypesAsync
in interface AmazonMQAsync
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<DescribeBrokerInstanceOptionsResult> describeBrokerInstanceOptionsAsync(DescribeBrokerInstanceOptionsRequest request)
AmazonMQAsync
describeBrokerInstanceOptionsAsync
in interface AmazonMQAsync
public Future<DescribeBrokerInstanceOptionsResult> describeBrokerInstanceOptionsAsync(DescribeBrokerInstanceOptionsRequest request, AsyncHandler<DescribeBrokerInstanceOptionsRequest,DescribeBrokerInstanceOptionsResult> asyncHandler)
AmazonMQAsync
describeBrokerInstanceOptionsAsync
in interface AmazonMQAsync
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)
AmazonMQAsync
describeConfigurationAsync
in interface AmazonMQAsync
public Future<DescribeConfigurationResult> describeConfigurationAsync(DescribeConfigurationRequest request, AsyncHandler<DescribeConfigurationRequest,DescribeConfigurationResult> asyncHandler)
AmazonMQAsync
describeConfigurationAsync
in interface AmazonMQAsync
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)
AmazonMQAsync
describeConfigurationRevisionAsync
in interface AmazonMQAsync
public Future<DescribeConfigurationRevisionResult> describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request, AsyncHandler<DescribeConfigurationRevisionRequest,DescribeConfigurationRevisionResult> asyncHandler)
AmazonMQAsync
describeConfigurationRevisionAsync
in interface AmazonMQAsync
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<DescribeUserResult> describeUserAsync(DescribeUserRequest request)
AmazonMQAsync
describeUserAsync
in interface AmazonMQAsync
public Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request, AsyncHandler<DescribeUserRequest,DescribeUserResult> asyncHandler)
AmazonMQAsync
describeUserAsync
in interface AmazonMQAsync
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<ListBrokersResult> listBrokersAsync(ListBrokersRequest request)
AmazonMQAsync
listBrokersAsync
in interface AmazonMQAsync
public Future<ListBrokersResult> listBrokersAsync(ListBrokersRequest request, AsyncHandler<ListBrokersRequest,ListBrokersResult> asyncHandler)
AmazonMQAsync
listBrokersAsync
in interface AmazonMQAsync
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<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request)
AmazonMQAsync
listConfigurationRevisionsAsync
in interface AmazonMQAsync
public Future<ListConfigurationRevisionsResult> listConfigurationRevisionsAsync(ListConfigurationRevisionsRequest request, AsyncHandler<ListConfigurationRevisionsRequest,ListConfigurationRevisionsResult> asyncHandler)
AmazonMQAsync
listConfigurationRevisionsAsync
in interface AmazonMQAsync
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)
AmazonMQAsync
listConfigurationsAsync
in interface AmazonMQAsync
public Future<ListConfigurationsResult> listConfigurationsAsync(ListConfigurationsRequest request, AsyncHandler<ListConfigurationsRequest,ListConfigurationsResult> asyncHandler)
AmazonMQAsync
listConfigurationsAsync
in interface AmazonMQAsync
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<ListTagsResult> listTagsAsync(ListTagsRequest request)
AmazonMQAsync
listTagsAsync
in interface AmazonMQAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AmazonMQAsync
listTagsAsync
in interface AmazonMQAsync
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<ListUsersResult> listUsersAsync(ListUsersRequest request)
AmazonMQAsync
listUsersAsync
in interface AmazonMQAsync
public Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AmazonMQAsync
listUsersAsync
in interface AmazonMQAsync
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<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request)
AmazonMQAsync
rebootBrokerAsync
in interface AmazonMQAsync
public Future<RebootBrokerResult> rebootBrokerAsync(RebootBrokerRequest request, AsyncHandler<RebootBrokerRequest,RebootBrokerResult> asyncHandler)
AmazonMQAsync
rebootBrokerAsync
in interface AmazonMQAsync
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<UpdateBrokerResult> updateBrokerAsync(UpdateBrokerRequest request)
AmazonMQAsync
updateBrokerAsync
in interface AmazonMQAsync
request
- Updates the broker using the specified properties.public Future<UpdateBrokerResult> updateBrokerAsync(UpdateBrokerRequest request, AsyncHandler<UpdateBrokerRequest,UpdateBrokerResult> asyncHandler)
AmazonMQAsync
updateBrokerAsync
in interface AmazonMQAsync
request
- 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)
AmazonMQAsync
updateConfigurationAsync
in interface AmazonMQAsync
request
- Updates the specified configuration.public Future<UpdateConfigurationResult> updateConfigurationAsync(UpdateConfigurationRequest request, AsyncHandler<UpdateConfigurationRequest,UpdateConfigurationResult> asyncHandler)
AmazonMQAsync
updateConfigurationAsync
in interface AmazonMQAsync
request
- 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)
AmazonMQAsync
updateUserAsync
in interface AmazonMQAsync
request
- Updates the information for an ActiveMQ user.public Future<UpdateUserResult> updateUserAsync(UpdateUserRequest request, AsyncHandler<UpdateUserRequest,UpdateUserResult> asyncHandler)
AmazonMQAsync
updateUserAsync
in interface AmazonMQAsync
request
- 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 AmazonMQ
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.