Class ElasticsearchAction

    • 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 index where you want to store your data.

        Returns:
        The 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)