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 interface
OpenSearchAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenSearchAction.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 OpenSearch 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 OpenSearchAction.Builder>
serializableBuilderClass()
OpenSearchAction.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
type()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-