public class AbstractAWSElasticsearch extends Object implements AWSElasticsearch
AWSElasticsearch. Convenient method forms
pass through to the corresponding overload that takes a request object, which
throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
AddTagsResult |
addTags(AddTagsRequest request)
Attaches tags to an existing Elasticsearch domain.
|
CreateElasticsearchDomainResult |
createElasticsearchDomain(CreateElasticsearchDomainRequest request)
Creates a new Elasticsearch domain.
|
DeleteElasticsearchDomainResult |
deleteElasticsearchDomain(DeleteElasticsearchDomainRequest request)
Permanently deletes the specified Elasticsearch domain and all of its
data.
|
DescribeElasticsearchDomainResult |
describeElasticsearchDomain(DescribeElasticsearchDomainRequest request)
Returns domain configuration information about the specified
Elasticsearch domain, including the domain ID, domain endpoint, and
domain ARN.
|
DescribeElasticsearchDomainConfigResult |
describeElasticsearchDomainConfig(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.
|
DescribeElasticsearchDomainsResult |
describeElasticsearchDomains(DescribeElasticsearchDomainsRequest request)
Returns domain configuration information about the specified
Elasticsearch domains, including the domain ID, domain endpoint, and
domain ARN.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
ListDomainNamesResult |
listDomainNames(ListDomainNamesRequest request)
Returns the name of all Elasticsearch domains owned by the current user's
account.
|
ListTagsResult |
listTags(ListTagsRequest request)
Returns all tags for the given Elasticsearch domain.
|
RemoveTagsResult |
removeTags(RemoveTagsRequest request)
Removes the specified set of tags from the specified Elasticsearch
domain.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://es.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AWSElasticsearch.setEndpoint(String), sets the
regional endpoint for this client's service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
UpdateElasticsearchDomainConfigResult |
updateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest request)
Modifies the cluster configuration of the specified Elasticsearch domain,
setting as setting the instance type and the number of instances.
|
public void setEndpoint(String endpoint)
AWSElasticsearch
Callers can pass in just the endpoint (ex: "es.us-east-1.amazonaws.com")
or a full URL, including the protocol (ex:
"https://es.us-east-1.amazonaws.com"). If the protocol is not specified
here, the default protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint in interface AWSElasticsearchendpoint - The endpoint (ex: "es.us-east-1.amazonaws.com") or a full URL,
including the protocol (ex: "https://es.us-east-1.amazonaws.com")
of the region specific AWS endpoint this client will communicate
with.public void setRegion(Region region)
AWSElasticsearchAWSElasticsearch.setEndpoint(String), sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion in interface AWSElasticsearchregion - The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions) for
accessing a given region. Must not be null and must be a region
where the service is available.Region.getRegion(com.amazonaws.regions.Regions),
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration),
Region.isServiceSupported(String)public AddTagsResult addTags(AddTagsRequest request)
AWSElasticsearchAttaches 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.
addTags in interface AWSElasticsearchrequest - Container for the parameters to the AddTags
operation. Specify the tags that you want to attach to the
Elasticsearch domain.public CreateElasticsearchDomainResult createElasticsearchDomain(CreateElasticsearchDomainRequest request)
AWSElasticsearchCreates a new Elasticsearch domain. For more information, see Creating Elasticsearch Domains in the Amazon Elasticsearch Service Developer Guide.
createElasticsearchDomain in interface AWSElasticsearchpublic DeleteElasticsearchDomainResult deleteElasticsearchDomain(DeleteElasticsearchDomainRequest request)
AWSElasticsearchPermanently deletes the specified Elasticsearch domain and all of its data. Once a domain is deleted, it cannot be recovered.
deleteElasticsearchDomain in interface AWSElasticsearchrequest - Container for the parameters to the
DeleteElasticsearchDomain operation. Specifies
the name of the Elasticsearch domain that you want to delete.public DescribeElasticsearchDomainResult describeElasticsearchDomain(DescribeElasticsearchDomainRequest request)
AWSElasticsearchReturns domain configuration information about the specified Elasticsearch domain, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomain in interface AWSElasticsearchrequest - Container for the parameters to the
DescribeElasticsearchDomain operation.public DescribeElasticsearchDomainConfigResult describeElasticsearchDomainConfig(DescribeElasticsearchDomainConfigRequest request)
AWSElasticsearchProvides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
describeElasticsearchDomainConfig in interface AWSElasticsearchrequest - Container for the parameters to the
DescribeElasticsearchDomainConfig operation.
Specifies the domain name for which you want configuration
information.public DescribeElasticsearchDomainsResult describeElasticsearchDomains(DescribeElasticsearchDomainsRequest request)
AWSElasticsearchReturns domain configuration information about the specified Elasticsearch domains, including the domain ID, domain endpoint, and domain ARN.
describeElasticsearchDomains in interface AWSElasticsearchrequest - Container for the parameters to the
DescribeElasticsearchDomains operation. By
default, the API returns the status of all Elasticsearch domains.public ListDomainNamesResult listDomainNames(ListDomainNamesRequest request)
AWSElasticsearchReturns the name of all Elasticsearch domains owned by the current user's account.
listDomainNames in interface AWSElasticsearchpublic ListTagsResult listTags(ListTagsRequest request)
AWSElasticsearchReturns all tags for the given Elasticsearch domain.
listTags in interface AWSElasticsearchrequest - Container for the parameters to the ListTags
operation. Specify the ARN for the Elasticsearch
domain to which the tags are attached that you want to view are
attached.public RemoveTagsResult removeTags(RemoveTagsRequest request)
AWSElasticsearchRemoves the specified set of tags from the specified Elasticsearch domain.
removeTags in interface AWSElasticsearchrequest - Container for the parameters to the RemoveTags
operation. Specify the ARN for the Elasticsearch
domain from which you want to remove the specified
TagKey.public UpdateElasticsearchDomainConfigResult updateElasticsearchDomainConfig(UpdateElasticsearchDomainConfigRequest request)
AWSElasticsearchModifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.
updateElasticsearchDomainConfig in interface AWSElasticsearchrequest - Container for the parameters to the
UpdateElasticsearchDomain operation. Specifies
the type and number of instances in the domain cluster.public void shutdown()
AWSElasticsearchshutdown in interface AWSElasticsearchpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSElasticsearchResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSElasticsearchrequest - The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.