public class ElasticsearchAction extends Object implements Serializable
Describes an action that writes data to an Amazon Elasticsearch Service; domain.
| Constructor and Description |
|---|
ElasticsearchAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getEndpoint()
The endpoint of your Elasticsearch domain.
|
String |
getId()
The unique identifier for the document you are storing.
|
String |
getIndex()
The Elasticsearch index where you want to store your data.
|
String |
getRoleArn()
The IAM role ARN that has access to Elasticsearch.
|
String |
getType()
The type of document you are storing.
|
int |
hashCode() |
void |
setEndpoint(String endpoint)
The endpoint of your Elasticsearch domain.
|
void |
setId(String id)
The unique identifier for the document you are storing.
|
void |
setIndex(String index)
The Elasticsearch index where you want to store your data.
|
void |
setRoleArn(String roleArn)
The IAM role ARN that has access to Elasticsearch.
|
void |
setType(String type)
The type of document you are storing.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ElasticsearchAction |
withEndpoint(String endpoint)
The endpoint of your Elasticsearch domain.
|
ElasticsearchAction |
withId(String id)
The unique identifier for the document you are storing.
|
ElasticsearchAction |
withIndex(String index)
The Elasticsearch index where you want to store your data.
|
ElasticsearchAction |
withRoleArn(String roleArn)
The IAM role ARN that has access to Elasticsearch.
|
ElasticsearchAction |
withType(String type)
The type of document you are storing.
|
public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The IAM role ARN that has access to Elasticsearch.public ElasticsearchAction withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The IAM role ARN that has access to Elasticsearch.public String getEndpoint()
Constraints:
Pattern: https?://.*
public void setEndpoint(String endpoint)
Constraints:
Pattern: https?://.*
endpoint - The endpoint of your Elasticsearch domain.public ElasticsearchAction withEndpoint(String endpoint)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: https?://.*
endpoint - The endpoint of your Elasticsearch domain.public String getIndex()
public void setIndex(String index)
index - The Elasticsearch index where you want to store your data.public ElasticsearchAction withIndex(String index)
Returns a reference to this object so that method calls can be chained together.
index - The Elasticsearch index where you want to store your data.public String getType()
public void setType(String type)
type - The type of document you are storing.public ElasticsearchAction withType(String type)
Returns a reference to this object so that method calls can be chained together.
type - The type of document you are storing.public String getId()
public void setId(String id)
id - The unique identifier for the document you are storing.public ElasticsearchAction withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - The unique identifier for the document you are storing.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.