@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenSearchAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action that writes data to an Amazon OpenSearch Service domain.
Constructor and Description |
---|
OpenSearchAction() |
Modifier and Type | Method and Description |
---|---|
OpenSearchAction |
clone() |
boolean |
equals(Object obj) |
String |
getEndpoint()
The endpoint of your OpenSearch domain.
|
String |
getId()
The unique identifier for the document you are storing.
|
String |
getIndex()
The OpenSearch index where you want to store your data.
|
String |
getRoleArn()
The IAM role ARN that has access to OpenSearch.
|
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 OpenSearch domain.
|
void |
setId(String id)
The unique identifier for the document you are storing.
|
void |
setIndex(String index)
The OpenSearch index where you want to store your data.
|
void |
setRoleArn(String roleArn)
The IAM role ARN that has access to OpenSearch.
|
void |
setType(String type)
The type of document you are storing.
|
String |
toString()
Returns a string representation of this object.
|
OpenSearchAction |
withEndpoint(String endpoint)
The endpoint of your OpenSearch domain.
|
OpenSearchAction |
withId(String id)
The unique identifier for the document you are storing.
|
OpenSearchAction |
withIndex(String index)
The OpenSearch index where you want to store your data.
|
OpenSearchAction |
withRoleArn(String roleArn)
The IAM role ARN that has access to OpenSearch.
|
OpenSearchAction |
withType(String type)
The type of document you are storing.
|
public void setRoleArn(String roleArn)
The IAM role ARN that has access to OpenSearch.
roleArn
- The IAM role ARN that has access to OpenSearch.public String getRoleArn()
The IAM role ARN that has access to OpenSearch.
public OpenSearchAction withRoleArn(String roleArn)
The IAM role ARN that has access to OpenSearch.
roleArn
- The IAM role ARN that has access to OpenSearch.public void setEndpoint(String endpoint)
The endpoint of your OpenSearch domain.
endpoint
- The endpoint of your OpenSearch domain.public String getEndpoint()
The endpoint of your OpenSearch domain.
public OpenSearchAction withEndpoint(String endpoint)
The endpoint of your OpenSearch domain.
endpoint
- The endpoint of your OpenSearch domain.public void setIndex(String index)
The OpenSearch index where you want to store your data.
index
- The OpenSearch index where you want to store your data.public String getIndex()
The OpenSearch index where you want to store your data.
public OpenSearchAction withIndex(String index)
The OpenSearch index where you want to store your data.
index
- The OpenSearch 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 OpenSearchAction 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 OpenSearchAction 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 OpenSearchAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.