Class ElasticsearchAction
- java.lang.Object
-
- com.amazonaws.services.iot.model.ElasticsearchAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ElasticsearchAction extends Object implements Serializable, Cloneable
Describes an action that writes data to an Amazon Elasticsearch Service; domain.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchAction
clone()
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.
-
-
-
Method Detail
-
setRoleArn
public void setRoleArn(String roleArn)
The IAM role ARN that has access to Elasticsearch.
- Parameters:
roleArn
- The IAM role ARN that has access to Elasticsearch.
-
getRoleArn
public String getRoleArn()
The IAM role ARN that has access to Elasticsearch.
- Returns:
- The IAM role ARN that has access to Elasticsearch.
-
withRoleArn
public ElasticsearchAction withRoleArn(String roleArn)
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
public void setEndpoint(String endpoint)
The endpoint of your Elasticsearch domain.
- Parameters:
endpoint
- The endpoint of your Elasticsearch domain.
-
getEndpoint
public String getEndpoint()
The endpoint of your Elasticsearch domain.
- Returns:
- The endpoint of your Elasticsearch domain.
-
withEndpoint
public ElasticsearchAction withEndpoint(String endpoint)
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
public void setIndex(String index)
The Elasticsearch index where you want to store your data.
- Parameters:
index
- The Elasticsearch index where you want to store your data.
-
getIndex
public String getIndex()
The Elasticsearch index where you want to store your data.
- Returns:
- The Elasticsearch index where you want to store your data.
-
withIndex
public ElasticsearchAction withIndex(String index)
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
public void setType(String type)
The type of document you are storing.
- Parameters:
type
- The type of document you are storing.
-
getType
public String getType()
The type of document you are storing.
- Returns:
- The type of document you are storing.
-
withType
public ElasticsearchAction withType(String type)
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
public void setId(String id)
The unique identifier for the document you are storing.
- Parameters:
id
- The unique identifier for the document you are storing.
-
getId
public String getId()
The unique identifier for the document you are storing.
- Returns:
- The unique identifier for the document you are storing.
-
withId
public ElasticsearchAction withId(String id)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchAction clone()
-
-