Class AbstractAWSElasticsearchAsync
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.AbstractAWSElasticsearch
-
- com.amazonaws.services.elasticsearch.AbstractAWSElasticsearchAsync
-
- All Implemented Interfaces:
AWSElasticsearch
,AWSElasticsearchAsync
public class AbstractAWSElasticsearchAsync extends AbstractAWSElasticsearch implements AWSElasticsearchAsync
Abstract implementation ofAWSElasticsearchAsync
. Convenient method forms pass through to the corresponding overload that takes a request object and anAsyncHandler
, which throws anUnsupportedOperationException
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAWSElasticsearchAsync()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<AddTagsResult>
addTagsAsync(AddTagsRequest request)
Attaches tags to an existing Elasticsearch domain.Future<AddTagsResult>
addTagsAsync(AddTagsRequest request, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
Attaches tags to an existing Elasticsearch domain.Future<CreateElasticsearchDomainResult>
createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request)
Creates a new Elasticsearch domain.Future<CreateElasticsearchDomainResult>
createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request, AsyncHandler<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResult> asyncHandler)
Creates a new Elasticsearch domain.Future<DeleteElasticsearchDomainResult>
deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request)
Permanently deletes the specified Elasticsearch domain and all of its data.Future<DeleteElasticsearchDomainResult>
deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request, AsyncHandler<DeleteElasticsearchDomainRequest,DeleteElasticsearchDomainResult> asyncHandler)
Permanently deletes the specified Elasticsearch domain and all of its data.Future<DescribeElasticsearchDomainResult>
describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.Future<DescribeElasticsearchDomainResult>
describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request, AsyncHandler<DescribeElasticsearchDomainRequest,DescribeElasticsearchDomainResult> asyncHandler)
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.Future<DescribeElasticsearchDomainConfigResult>
describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.Future<DescribeElasticsearchDomainConfigResult>
describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request, AsyncHandler<DescribeElasticsearchDomainConfigRequest,DescribeElasticsearchDomainConfigResult> asyncHandler)
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.Future<DescribeElasticsearchDomainsResult>
describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.Future<DescribeElasticsearchDomainsResult>
describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request, AsyncHandler<DescribeElasticsearchDomainsRequest,DescribeElasticsearchDomainsResult> asyncHandler)
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.Future<ListDomainNamesResult>
listDomainNamesAsync(ListDomainNamesRequest request)
Returns the name of all Elasticsearch domains owned by the current user's account.Future<ListDomainNamesResult>
listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
Returns the name of all Elasticsearch domains owned by the current user's account.Future<ListTagsResult>
listTagsAsync(ListTagsRequest request)
Returns all tags for the given Elasticsearch domain.Future<ListTagsResult>
listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
Returns all tags for the given Elasticsearch domain.Future<RemoveTagsResult>
removeTagsAsync(RemoveTagsRequest request)
Removes the specified set of tags from the specified Elasticsearch domain.Future<RemoveTagsResult>
removeTagsAsync(RemoveTagsRequest request, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
Removes the specified set of tags from the specified Elasticsearch domain.Future<UpdateElasticsearchDomainConfigResult>
updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.Future<UpdateElasticsearchDomainConfigResult>
updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request, AsyncHandler<UpdateElasticsearchDomainConfigRequest,UpdateElasticsearchDomainConfigResult> asyncHandler)
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.-
Methods inherited from class com.amazonaws.services.elasticsearch.AbstractAWSElasticsearch
addTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, setEndpoint, setRegion, shutdown, updateElasticsearchDomainConfig
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.elasticsearch.AWSElasticsearch
addTags, createElasticsearchDomain, deleteElasticsearchDomain, describeElasticsearchDomain, describeElasticsearchDomainConfig, describeElasticsearchDomains, getCachedResponseMetadata, listDomainNames, listTags, removeTags, setEndpoint, setRegion, shutdown, updateElasticsearchDomainConfig
-
-
-
-
Method Detail
-
addTagsAsync
public Future<AddTagsResult> addTagsAsync(AddTagsRequest request)
Description copied from interface:AWSElasticsearchAsync
Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
- Specified by:
addTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theAddTags
operation. Specify the tags that you want to attach to the Elasticsearch domain.- Returns:
- A Java Future containing the result of the AddTags operation returned by the service.
-
addTagsAsync
public Future<AddTagsResult> addTagsAsync(AddTagsRequest request, AsyncHandler<AddTagsRequest,AddTagsResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Attaches tags to an existing Elasticsearch domain. Tags are a set of case-sensitive key value pairs. An Elasticsearch domain may have up to 10 tags. See Tagging Amazon Elasticsearch Service Domains for more information.
- Specified by:
addTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theAddTags
operation. Specify the tags that you want to attach to the Elasticsearch domain.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.- Returns:
- A Java Future containing the result of the AddTags operation returned by the service.
-
createElasticsearchDomainAsync
public Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request)
Description copied from interface:AWSElasticsearchAsync
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
- Specified by:
createElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Returns:
- A Java Future containing the result of the CreateElasticsearchDomain operation returned by the service.
-
createElasticsearchDomainAsync
public Future<CreateElasticsearchDomainResult> createElasticsearchDomainAsync(CreateElasticsearchDomainRequest request, AsyncHandler<CreateElasticsearchDomainRequest,CreateElasticsearchDomainResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Creates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
- Specified by:
createElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
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.- Returns:
- A Java Future containing the result of the CreateElasticsearchDomain operation returned by the service.
-
deleteElasticsearchDomainAsync
public Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request)
Description copied from interface:AWSElasticsearchAsync
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
- Specified by:
deleteElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDeleteElasticsearchDomain
operation. Specifies the name of the Elasticsearch domain that you want to delete.- Returns:
- A Java Future containing the result of the DeleteElasticsearchDomain operation returned by the service.
-
deleteElasticsearchDomainAsync
public Future<DeleteElasticsearchDomainResult> deleteElasticsearchDomainAsync(DeleteElasticsearchDomainRequest request, AsyncHandler<DeleteElasticsearchDomainRequest,DeleteElasticsearchDomainResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Permanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
- Specified by:
deleteElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDeleteElasticsearchDomain
operation. Specifies the name of the Elasticsearch domain that you want to delete.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.- Returns:
- A Java Future containing the result of the DeleteElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainAsync
public Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request)
Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomain
operation.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainAsync
public Future<DescribeElasticsearchDomainResult> describeElasticsearchDomainAsync(DescribeElasticsearchDomainRequest request, AsyncHandler<DescribeElasticsearchDomainRequest,DescribeElasticsearchDomainResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomain
operation.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.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomain operation returned by the service.
-
describeElasticsearchDomainConfigAsync
public Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request)
Description copied from interface:AWSElasticsearchAsync
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
- Specified by:
describeElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomainConfig
operation. Specifies the domain name for which you want configuration information.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomainConfig operation returned by the service.
-
describeElasticsearchDomainConfigAsync
public Future<DescribeElasticsearchDomainConfigResult> describeElasticsearchDomainConfigAsync(DescribeElasticsearchDomainConfigRequest request, AsyncHandler<DescribeElasticsearchDomainConfigRequest,DescribeElasticsearchDomainConfigResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
- Specified by:
describeElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomainConfig
operation. Specifies the domain name for which you want configuration information.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.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomainConfig operation returned by the service.
-
describeElasticsearchDomainsAsync
public Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request)
Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomains
operation. By default, the API returns the status of all Elasticsearch domains.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomains operation returned by the service.
-
describeElasticsearchDomainsAsync
public Future<DescribeElasticsearchDomainsResult> describeElasticsearchDomainsAsync(DescribeElasticsearchDomainsRequest request, AsyncHandler<DescribeElasticsearchDomainsRequest,DescribeElasticsearchDomainsResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Returns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
- Specified by:
describeElasticsearchDomainsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theDescribeElasticsearchDomains
operation. By default, the API returns the status of all Elasticsearch domains.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.- Returns:
- A Java Future containing the result of the DescribeElasticsearchDomains operation returned by the service.
-
listDomainNamesAsync
public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request)
Description copied from interface:AWSElasticsearchAsync
Returns the name of all Elasticsearch domains owned by the current user's account.
- Specified by:
listDomainNamesAsync
in interfaceAWSElasticsearchAsync
- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
-
listDomainNamesAsync
public Future<ListDomainNamesResult> listDomainNamesAsync(ListDomainNamesRequest request, AsyncHandler<ListDomainNamesRequest,ListDomainNamesResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Returns the name of all Elasticsearch domains owned by the current user's account.
- Specified by:
listDomainNamesAsync
in interfaceAWSElasticsearchAsync
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.- Returns:
- A Java Future containing the result of the ListDomainNames operation returned by the service.
-
listTagsAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
Description copied from interface:AWSElasticsearchAsync
Returns all tags for the given Elasticsearch domain.
- Specified by:
listTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theListTags
operation. Specify theARN
for the Elasticsearch domain to which the tags are attached that you want to view are attached.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
-
listTagsAsync
public Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Returns all tags for the given Elasticsearch domain.
- Specified by:
listTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theListTags
operation. Specify theARN
for the Elasticsearch domain to which the tags are attached that you want to view are attached.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.- Returns:
- A Java Future containing the result of the ListTags operation returned by the service.
-
removeTagsAsync
public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request)
Description copied from interface:AWSElasticsearchAsync
Removes the specified set of tags from the specified Elasticsearch domain.
- Specified by:
removeTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theRemoveTags
operation. Specify theARN
for the Elasticsearch domain from which you want to remove the specifiedTagKey
.- Returns:
- A Java Future containing the result of the RemoveTags operation returned by the service.
-
removeTagsAsync
public Future<RemoveTagsResult> removeTagsAsync(RemoveTagsRequest request, AsyncHandler<RemoveTagsRequest,RemoveTagsResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Removes the specified set of tags from the specified Elasticsearch domain.
- Specified by:
removeTagsAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theRemoveTags
operation. Specify theARN
for the Elasticsearch domain from which you want to remove the specifiedTagKey
.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.- Returns:
- A Java Future containing the result of the RemoveTags operation returned by the service.
-
updateElasticsearchDomainConfigAsync
public Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request)
Description copied from interface:AWSElasticsearchAsync
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
- Specified by:
updateElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theUpdateElasticsearchDomain
operation. Specifies the type and number of instances in the domain cluster.- Returns:
- A Java Future containing the result of the UpdateElasticsearchDomainConfig operation returned by the service.
-
updateElasticsearchDomainConfigAsync
public Future<UpdateElasticsearchDomainConfigResult> updateElasticsearchDomainConfigAsync(UpdateElasticsearchDomainConfigRequest request, AsyncHandler<UpdateElasticsearchDomainConfigRequest,UpdateElasticsearchDomainConfigResult> asyncHandler)
Description copied from interface:AWSElasticsearchAsync
Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
- Specified by:
updateElasticsearchDomainConfigAsync
in interfaceAWSElasticsearchAsync
- Parameters:
request
- Container for the parameters to theUpdateElasticsearchDomain
operation. Specifies the type and number of instances in the domain 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.- Returns:
- A Java Future containing the result of the UpdateElasticsearchDomainConfig operation returned by the service.
-
-