public class ElasticsearchAction
extends java.lang.Object
implements java.io.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(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.
|
public java.lang.String getRoleArn()
The IAM role ARN that has access to Elasticsearch.
The IAM role ARN that has access to Elasticsearch.
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 ElasticsearchAction withRoleArn(java.lang.String roleArn)
The IAM role ARN that has access to Elasticsearch.
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 java.lang.String getEndpoint()
The endpoint of your Elasticsearch domain.
Constraints:
Pattern: https?://.*
The endpoint of your Elasticsearch domain.
public void setEndpoint(java.lang.String endpoint)
The endpoint of your Elasticsearch domain.
Constraints:
Pattern: https?://.*
endpoint
- The endpoint of your Elasticsearch domain.
public ElasticsearchAction withEndpoint(java.lang.String endpoint)
The endpoint of your Elasticsearch domain.
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 java.lang.String getIndex()
The Elasticsearch index where you want to store your data.
The Elasticsearch index where you want to store your data.
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 ElasticsearchAction withIndex(java.lang.String index)
The Elasticsearch index where you want to store your data.
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 java.lang.String getType()
The type of document you are storing.
The type of document you are storing.
public void setType(java.lang.String type)
The type of document you are storing.
type
- The type of document you are storing.
public ElasticsearchAction withType(java.lang.String type)
The type of document you are storing.
Returns a reference to this object so that method calls can be chained together.
type
- The type of document you are storing.
public java.lang.String getId()
The unique identifier for the document you are storing.
The unique identifier for the 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 ElasticsearchAction withId(java.lang.String id)
The unique identifier for the document you are storing.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.