public class ElasticsearchAction
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an action that writes data to an Amazon Elasticsearch Service; domain.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
endpoint
The endpoint of your Elasticsearch domain.
|
private java.lang.String |
id
The unique identifier for the document you are storing.
|
private java.lang.String |
index
The Elasticsearch index where you want to store your data.
|
private java.lang.String |
roleArn
The IAM role ARN that has access to Elasticsearch.
|
private java.lang.String |
type
The type of document you are storing.
|
Constructor and Description |
---|
ElasticsearchAction() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchAction |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEndpoint()
The endpoint of your Elasticsearch domain.
|
java.lang.String |
getId()
The unique identifier for the document you are storing.
|
java.lang.String |
getIndex()
The Elasticsearch index where you want to store your data.
|
java.lang.String |
getRoleArn()
The IAM role ARN that has access to Elasticsearch.
|
java.lang.String |
getType()
The type of document you are storing.
|
int |
hashCode() |
void |
setEndpoint(java.lang.String endpoint)
The endpoint of your Elasticsearch domain.
|
void |
setId(java.lang.String id)
The unique identifier for the document you are storing.
|
void |
setIndex(java.lang.String index)
The Elasticsearch index where you want to store your data.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role ARN that has access to Elasticsearch.
|
void |
setType(java.lang.String type)
The type of document you are storing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ElasticsearchAction |
withEndpoint(java.lang.String endpoint)
The endpoint of your Elasticsearch domain.
|
ElasticsearchAction |
withId(java.lang.String id)
The unique identifier for the document you are storing.
|
ElasticsearchAction |
withIndex(java.lang.String index)
The Elasticsearch index where you want to store your data.
|
ElasticsearchAction |
withRoleArn(java.lang.String roleArn)
The IAM role ARN that has access to Elasticsearch.
|
ElasticsearchAction |
withType(java.lang.String type)
The type of document you are storing.
|
private java.lang.String roleArn
The IAM role ARN that has access to Elasticsearch.
private java.lang.String endpoint
The endpoint of your Elasticsearch domain.
private java.lang.String index
The Elasticsearch index where you want to store your data.
private java.lang.String type
The type of document you are storing.
private java.lang.String id
The unique identifier for the document you are storing.
public void setRoleArn(java.lang.String roleArn)
The IAM role ARN that has access to Elasticsearch.
roleArn
- The IAM role ARN that has access to Elasticsearch.public java.lang.String getRoleArn()
The IAM role ARN that has access to Elasticsearch.
public ElasticsearchAction withRoleArn(java.lang.String roleArn)
The IAM role ARN that has access to Elasticsearch.
roleArn
- The IAM role ARN that has access to Elasticsearch.public void setEndpoint(java.lang.String endpoint)
The endpoint of your Elasticsearch domain.
endpoint
- The endpoint of your Elasticsearch domain.public java.lang.String getEndpoint()
The endpoint of your Elasticsearch domain.
public ElasticsearchAction withEndpoint(java.lang.String endpoint)
The endpoint of your Elasticsearch domain.
endpoint
- The endpoint of your Elasticsearch domain.public void setIndex(java.lang.String index)
The Elasticsearch index where you want to store your data.
index
- The Elasticsearch index where you want to store your data.public java.lang.String getIndex()
The Elasticsearch index where you want to store your data.
public ElasticsearchAction withIndex(java.lang.String index)
The Elasticsearch index where you want to store your data.
index
- The Elasticsearch index where you want to store your data.public void setType(java.lang.String type)
The type of document you are storing.
type
- The type of document you are storing.public java.lang.String getType()
The type of document you are storing.
public ElasticsearchAction withType(java.lang.String type)
The type of document you are storing.
type
- The type of document you are storing.public void setId(java.lang.String id)
The unique identifier for the document you are storing.
id
- The unique identifier for the document you are storing.public java.lang.String getId()
The unique identifier for the document you are storing.
public ElasticsearchAction withId(java.lang.String id)
The unique identifier for the document you are storing.
id
- The unique identifier for the document you are storing.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ElasticsearchAction clone()
clone
in class java.lang.Object