@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action that writes data to an Amazon Elasticsearch Service domain.
Constructor and Description |
---|
ElasticsearchAction() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setRoleArn(String roleArn)
The IAM role ARN that has access to Elasticsearch.
roleArn
- The IAM role ARN that has access to Elasticsearch.public String getRoleArn()
The IAM role ARN that has access to Elasticsearch.
public ElasticsearchAction withRoleArn(String roleArn)
The IAM role ARN that has access to Elasticsearch.
roleArn
- The IAM role ARN that has access to Elasticsearch.public void setEndpoint(String endpoint)
The endpoint of your Elasticsearch domain.
endpoint
- The endpoint of your Elasticsearch domain.public String getEndpoint()
The endpoint of your Elasticsearch domain.
public ElasticsearchAction withEndpoint(String endpoint)
The endpoint of your Elasticsearch domain.
endpoint
- The endpoint of your Elasticsearch domain.public void setIndex(String index)
The Elasticsearch index where you want to store your data.
index
- The Elasticsearch index where you want to store your data.public String getIndex()
The Elasticsearch index where you want to store your data.
public ElasticsearchAction withIndex(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(String type)
The type of document you are storing.
type
- The type of document you are storing.public String getType()
The type of document you are storing.
public ElasticsearchAction withType(String type)
The type of document you are storing.
type
- The type of document you are storing.public void setId(String id)
The unique identifier for the document you are storing.
id
- The unique identifier for the document you are storing.public String getId()
The unique identifier for the document you are storing.
public ElasticsearchAction withId(String id)
The unique identifier for the document you are storing.
id
- The unique identifier for the document you are storing.public String toString()
toString
in class Object
Object.toString()
public ElasticsearchAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.