Class OpenSearchAction
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.OpenSearchAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpenSearchAction.Builder,OpenSearchAction>
@Generated("software.amazon.awssdk:codegen") public final class OpenSearchAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpenSearchAction.Builder,OpenSearchAction>
Describes an action that writes data to an Amazon OpenSearch Service domain.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpenSearchAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenSearchAction.Builderbuilder()Stringendpoint()The endpoint of your OpenSearch domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for the document you are storing.Stringindex()The OpenSearch index where you want to store your data.StringroleArn()The IAM role ARN that has access to OpenSearch.List<SdkField<?>>sdkFields()static Class<? extends OpenSearchAction.Builder>serializableBuilderClass()OpenSearchAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of document you are storing.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
roleArn
public final String roleArn()
The IAM role ARN that has access to OpenSearch.
- Returns:
- The IAM role ARN that has access to OpenSearch.
-
endpoint
public final String endpoint()
The endpoint of your OpenSearch domain.
- Returns:
- The endpoint of your OpenSearch domain.
-
index
public final String index()
The OpenSearch index where you want to store your data.
- Returns:
- The OpenSearch index where you want to store your data.
-
type
public final String type()
The type of document you are storing.
- Returns:
- The type of document you are storing.
-
id
public final String id()
The unique identifier for the document you are storing.
- Returns:
- The unique identifier for the document you are storing.
-
toBuilder
public OpenSearchAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OpenSearchAction.Builder,OpenSearchAction>
-
builder
public static OpenSearchAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends OpenSearchAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-