@Generated(value="software.amazon.awssdk:codegen") public final class ElasticsearchAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticsearchAction.Builder,ElasticsearchAction>
Describes an action that writes data to an Amazon OpenSearch Service domain.
The Elasticsearch action can only be used by existing rule actions. To create a new rule action or to
update an existing rule action, use the OpenSearch rule action instead. For more information, see OpenSearchAction.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ElasticsearchAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ElasticsearchAction.Builder |
builder() |
String |
endpoint()
The endpoint of your OpenSearch domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the document you are storing.
|
String |
index()
The index where you want to store your data.
|
String |
roleArn()
The IAM role ARN that has access to OpenSearch.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ElasticsearchAction.Builder> |
serializableBuilderClass() |
ElasticsearchAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of document you are storing.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleArn()
The IAM role ARN that has access to OpenSearch.
public final String endpoint()
The endpoint of your OpenSearch domain.
public final String index()
The index where you want to store your data.
public final String type()
The type of document you are storing.
public final String id()
The unique identifier for the document you are storing.
public ElasticsearchAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ElasticsearchAction.Builder,ElasticsearchAction>public static ElasticsearchAction.Builder builder()
public static Class<? extends ElasticsearchAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.