@Generated(value="software.amazon.awssdk:codegen") public final class ElasticsearchAction extends Object implements StructuredPojo, ToCopyableBuilder<ElasticsearchAction.Builder,ElasticsearchAction>
Describes an action that writes data to an Amazon Elasticsearch Service domain.
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 Elasticsearch domain.
|
boolean |
equals(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 Elasticsearch index where you want to store your data.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleArn()
The IAM role ARN that has access to Elasticsearch.
|
static Class<? extends ElasticsearchAction.Builder> |
serializableBuilderClass() |
ElasticsearchAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The type of document you are storing.
|
copy
public String roleArn()
The IAM role ARN that has access to Elasticsearch.
public String endpoint()
The endpoint of your Elasticsearch domain.
public String index()
The Elasticsearch index where you want to store your data.
public String type()
The type of document you are storing.
public String id()
The unique identifier for the document you are storing.
public ElasticsearchAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ElasticsearchAction.Builder,ElasticsearchAction>
public static ElasticsearchAction.Builder builder()
public static Class<? extends ElasticsearchAction.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.