@Generated(value="software.amazon.awssdk:codegen") public final class ElasticsearchDestinationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticsearchDestinationConfiguration.Builder,ElasticsearchDestinationConfiguration>
Describes the configuration of a destination in Amazon ES.
Modifier and Type | Class and Description |
---|---|
static interface |
ElasticsearchDestinationConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
ElasticsearchBufferingHints |
bufferingHints()
The buffering options.
|
static ElasticsearchDestinationConfiguration.Builder |
builder() |
CloudWatchLoggingOptions |
cloudWatchLoggingOptions()
The Amazon CloudWatch logging options for your delivery stream.
|
String |
domainARN()
The ARN of the Amazon ES domain.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
indexName()
The Elasticsearch index name.
|
ElasticsearchIndexRotationPeriod |
indexRotationPeriod()
The Elasticsearch index rotation period.
|
String |
indexRotationPeriodAsString()
The Elasticsearch index rotation period.
|
ProcessingConfiguration |
processingConfiguration()
The data processing configuration.
|
ElasticsearchRetryOptions |
retryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES.
|
String |
roleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES
Configuration API and for indexing documents.
|
ElasticsearchS3BackupMode |
s3BackupMode()
Defines how documents should be delivered to Amazon S3.
|
String |
s3BackupModeAsString()
Defines how documents should be delivered to Amazon S3.
|
S3DestinationConfiguration |
s3Configuration()
The configuration for the backup Amazon S3 location.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ElasticsearchDestinationConfiguration.Builder> |
serializableBuilderClass() |
ElasticsearchDestinationConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
typeName()
The Elasticsearch type name.
|
copy
public String roleARN()
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and AWS Service Namespaces.
public String domainARN()
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeElasticsearchDomain
,
DescribeElasticsearchDomains
, and DescribeElasticsearchDomainConfig
after assuming the
role specified in RoleARN. For more information, see Amazon Resource Names (ARNs)
and AWS Service Namespaces.
DescribeElasticsearchDomain
, DescribeElasticsearchDomains
, and
DescribeElasticsearchDomainConfig
after assuming the role specified in RoleARN. For
more information, see Amazon Resource Names
(ARNs) and AWS Service Namespaces.public String indexName()
The Elasticsearch index name.
public 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 run time.
public ElasticsearchIndexRotationPeriod indexRotationPeriod()
The Elasticsearch index rotation period. Index rotation appends a time stamp to the IndexName
to
facilitate the expiration of old data. For more information, see Index Rotation for the
Amazon ES Destination. The default value is OneDay
.
If the service returns an enum value that is not available in the current SDK version,
indexRotationPeriod
will return ElasticsearchIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from indexRotationPeriodAsString()
.
IndexName
to facilitate the expiration of old data. For more information, see Index Rotation
for the Amazon ES Destination. The default value is OneDay
.ElasticsearchIndexRotationPeriod
public String indexRotationPeriodAsString()
The Elasticsearch index rotation period. Index rotation appends a time stamp to the IndexName
to
facilitate the expiration of old data. For more information, see Index Rotation for the
Amazon ES Destination. The default value is OneDay
.
If the service returns an enum value that is not available in the current SDK version,
indexRotationPeriod
will return ElasticsearchIndexRotationPeriod.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from indexRotationPeriodAsString()
.
IndexName
to facilitate the expiration of old data. For more information, see Index Rotation
for the Amazon ES Destination. The default value is OneDay
.ElasticsearchIndexRotationPeriod
public ElasticsearchBufferingHints bufferingHints()
The buffering options. If no value is specified, the default values for ElasticsearchBufferingHints
are used.
ElasticsearchBufferingHints
are used.public 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).
public ElasticsearchS3BackupMode s3BackupMode()
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly
,
Kinesis Data Firehose writes any documents that could not be indexed to the configured Amazon S3 destination,
with elasticsearch-failed/
appended to the key prefix. When set to AllDocuments
,
Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents with
elasticsearch-failed/
appended to the prefix. For more information, see Amazon S3 Backup for the
Amazon ES Destination. Default value is FailedDocumentsOnly
.
If the service returns an enum value that is not available in the current SDK version, s3BackupMode
will
return ElasticsearchS3BackupMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from s3BackupModeAsString()
.
FailedDocumentsOnly
, Kinesis Data Firehose writes any documents that could not be indexed to
the configured Amazon S3 destination, with elasticsearch-failed/
appended to the key prefix.
When set to AllDocuments
, Kinesis Data Firehose delivers all incoming records to Amazon S3,
and also writes failed documents with elasticsearch-failed/
appended to the prefix. For more
information, see Amazon S3 Backup
for the Amazon ES Destination. Default value is FailedDocumentsOnly
.ElasticsearchS3BackupMode
public String s3BackupModeAsString()
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly
,
Kinesis Data Firehose writes any documents that could not be indexed to the configured Amazon S3 destination,
with elasticsearch-failed/
appended to the key prefix. When set to AllDocuments
,
Kinesis Data Firehose delivers all incoming records to Amazon S3, and also writes failed documents with
elasticsearch-failed/
appended to the prefix. For more information, see Amazon S3 Backup for the
Amazon ES Destination. Default value is FailedDocumentsOnly
.
If the service returns an enum value that is not available in the current SDK version, s3BackupMode
will
return ElasticsearchS3BackupMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from s3BackupModeAsString()
.
FailedDocumentsOnly
, Kinesis Data Firehose writes any documents that could not be indexed to
the configured Amazon S3 destination, with elasticsearch-failed/
appended to the key prefix.
When set to AllDocuments
, Kinesis Data Firehose delivers all incoming records to Amazon S3,
and also writes failed documents with elasticsearch-failed/
appended to the prefix. For more
information, see Amazon S3 Backup
for the Amazon ES Destination. Default value is FailedDocumentsOnly
.ElasticsearchS3BackupMode
public S3DestinationConfiguration s3Configuration()
The configuration for the backup Amazon S3 location.
public ProcessingConfiguration processingConfiguration()
The data processing configuration.
public CloudWatchLoggingOptions cloudWatchLoggingOptions()
The Amazon CloudWatch logging options for your delivery stream.
public ElasticsearchDestinationConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ElasticsearchDestinationConfiguration.Builder,ElasticsearchDestinationConfiguration>
public static ElasticsearchDestinationConfiguration.Builder builder()
public static Class<? extends ElasticsearchDestinationConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.