Class ElasticsearchDestinationUpdate

    • Method Detail

      • clusterEndpoint

        public final String clusterEndpoint()

        The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.

        Returns:
        The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.
      • indexName

        public final String indexName()

        The Elasticsearch index name.

        Returns:
        The Elasticsearch index name.
      • typeName

        public final String typeName()

        The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Kinesis Data Firehose returns an error during runtime.

        If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Kinesis Data Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your delivery stream with a new index name, provide an empty string for TypeName.

        Returns:
        The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Kinesis Data Firehose returns an error during runtime.

        If you upgrade Elasticsearch from 6.x to 7.x and don’t update your delivery stream, Kinesis Data Firehose still delivers data to Elasticsearch with the old index name and type name. If you want to update your delivery stream with a new index name, provide an empty string for TypeName.

      • bufferingHints

        public final ElasticsearchBufferingHints bufferingHints()

        The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.

        Returns:
        The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
      • retryOptions

        public final ElasticsearchRetryOptions retryOptions()

        The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).

        Returns:
        The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
      • s3Update

        public final S3DestinationUpdate s3Update()

        The Amazon S3 destination.

        Returns:
        The Amazon S3 destination.
      • processingConfiguration

        public final ProcessingConfiguration processingConfiguration()

        The data processing configuration.

        Returns:
        The data processing configuration.
      • cloudWatchLoggingOptions

        public final CloudWatchLoggingOptions cloudWatchLoggingOptions()

        The CloudWatch logging options for your delivery stream.

        Returns:
        The CloudWatch logging options for your delivery stream.
      • documentIdOptions

        public final DocumentIdOptions documentIdOptions()

        Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.

        Returns:
        Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
      • 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)