Class ElasticsearchAction
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an action that writes data to an Amazon Elasticsearch Service; domain.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The endpoint of your Elasticsearch domain.getId()
The unique identifier for the document you are storing.getIndex()
The Elasticsearch index where you want to store your data.The IAM role ARN that has access to Elasticsearch.getType()
The type of document you are storing.int
hashCode()
void
setEndpoint
(String endpoint) The endpoint of your Elasticsearch domain.void
The unique identifier for the document you are storing.void
The Elasticsearch index where you want to store your data.void
setRoleArn
(String roleArn) The IAM role ARN that has access to Elasticsearch.void
The type of document you are storing.toString()
Returns a string representation of this object; useful for testing and debugging.withEndpoint
(String endpoint) The endpoint of your Elasticsearch domain.The unique identifier for the document you are storing.The Elasticsearch index where you want to store your data.withRoleArn
(String roleArn) The IAM role ARN that has access to Elasticsearch.The type of document you are storing.
-
Constructor Details
-
ElasticsearchAction
public ElasticsearchAction()
-
-
Method Details
-
setRoleArn
The IAM role ARN that has access to Elasticsearch.
- Parameters:
roleArn
- The IAM role ARN that has access to Elasticsearch.
-
getRoleArn
The IAM role ARN that has access to Elasticsearch.
- Returns:
- The IAM role ARN that has access to Elasticsearch.
-
withRoleArn
The IAM role ARN that has access to Elasticsearch.
- Parameters:
roleArn
- The IAM role ARN that has access to Elasticsearch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndpoint
The endpoint of your Elasticsearch domain.
- Parameters:
endpoint
- The endpoint of your Elasticsearch domain.
-
getEndpoint
The endpoint of your Elasticsearch domain.
- Returns:
- The endpoint of your Elasticsearch domain.
-
withEndpoint
The endpoint of your Elasticsearch domain.
- Parameters:
endpoint
- The endpoint of your Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIndex
The Elasticsearch index where you want to store your data.
- Parameters:
index
- The Elasticsearch index where you want to store your data.
-
getIndex
The Elasticsearch index where you want to store your data.
- Returns:
- The Elasticsearch index where you want to store your data.
-
withIndex
The Elasticsearch index where you want to store your data.
- Parameters:
index
- The Elasticsearch index where you want to store your data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
The type of document you are storing.
- Parameters:
type
- The type of document you are storing.
-
getType
The type of document you are storing.
- Returns:
- The type of document you are storing.
-
withType
The type of document you are storing.
- Parameters:
type
- The type of document you are storing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setId
The unique identifier for the document you are storing.
- Parameters:
id
- The unique identifier for the document you are storing.
-
getId
The unique identifier for the document you are storing.
- Returns:
- The unique identifier for the document you are storing.
-
withId
The unique identifier for the document you are storing.
- Parameters:
id
- The unique identifier for the document you are storing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-