public static interface ElasticsearchDestinationConfiguration.Builder extends CopyableBuilder<ElasticsearchDestinationConfiguration.Builder,ElasticsearchDestinationConfiguration>
copy
applyMutation, build
ElasticsearchDestinationConfiguration.Builder roleARN(String roleARN)
The ARN of the IAM role to be assumed by Kinesis Firehose for calling the Amazon ES Configuration API and for indexing documents. For more information, see Amazon S3 Bucket Access.
roleARN
- The ARN of the IAM role to be assumed by Kinesis Firehose for calling the Amazon ES Configuration API
and for indexing documents. For more information, see Amazon S3
Bucket Access.ElasticsearchDestinationConfiguration.Builder domainARN(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.
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.ElasticsearchDestinationConfiguration.Builder indexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.ElasticsearchDestinationConfiguration.Builder typeName(String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.ElasticsearchDestinationConfiguration.Builder indexRotationPeriod(String 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
Amazon Elasticsearch Service Destination. The default value is OneDay
.
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 Amazon Elasticsearch Service Destination. The default value is OneDay
.ElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationConfiguration.Builder indexRotationPeriod(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
Amazon Elasticsearch Service Destination. The default value is OneDay
.
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 Amazon Elasticsearch Service Destination. The default value is OneDay
.ElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationConfiguration.Builder bufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options. If no value is specified, the default values for ElasticsearchBufferingHints are used.
bufferingHints
- The buffering options. If no value is specified, the default values for
ElasticsearchBufferingHints are used.default ElasticsearchDestinationConfiguration.Builder bufferingHints(Consumer<ElasticsearchBufferingHints.Builder> bufferingHints)
The buffering options. If no value is specified, the default values for ElasticsearchBufferingHints are used.
This is a convenience that creates an instance of theElasticsearchBufferingHints.Builder
avoiding
the need to create one manually via ElasticsearchBufferingHints.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to bufferingHints(ElasticsearchBufferingHints)
.bufferingHints
- a consumer that will call methods on ElasticsearchBufferingHints.Builder
bufferingHints(ElasticsearchBufferingHints)
ElasticsearchDestinationConfiguration.Builder retryOptions(ElasticsearchRetryOptions retryOptions)
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default
value is 300 (5 minutes).default ElasticsearchDestinationConfiguration.Builder retryOptions(Consumer<ElasticsearchRetryOptions.Builder> retryOptions)
The retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
This is a convenience that creates an instance of theElasticsearchRetryOptions.Builder
avoiding the
need to create one manually via ElasticsearchRetryOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to retryOptions(ElasticsearchRetryOptions)
.retryOptions
- a consumer that will call methods on ElasticsearchRetryOptions.Builder
retryOptions(ElasticsearchRetryOptions)
ElasticsearchDestinationConfiguration.Builder s3BackupMode(String s3BackupMode)
Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, Kinesis 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 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 Amazon Elasticsearch Service Destination. Default value is FailedDocumentsOnly.
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, Kinesis
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 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 Amazon Elasticsearch Service Destination. Default value is FailedDocumentsOnly.ElasticsearchS3BackupMode
,
ElasticsearchS3BackupMode
ElasticsearchDestinationConfiguration.Builder s3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, Kinesis 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 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 Amazon Elasticsearch Service Destination. Default value is FailedDocumentsOnly.
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When set to FailedDocumentsOnly, Kinesis
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 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 Amazon Elasticsearch Service Destination. Default value is FailedDocumentsOnly.ElasticsearchS3BackupMode
,
ElasticsearchS3BackupMode
ElasticsearchDestinationConfiguration.Builder s3Configuration(S3DestinationConfiguration s3Configuration)
The configuration for the backup Amazon S3 location.
s3Configuration
- The configuration for the backup Amazon S3 location.default ElasticsearchDestinationConfiguration.Builder s3Configuration(Consumer<S3DestinationConfiguration.Builder> s3Configuration)
The configuration for the backup Amazon S3 location.
This is a convenience that creates an instance of theS3DestinationConfiguration.Builder
avoiding the
need to create one manually via S3DestinationConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to s3Configuration(S3DestinationConfiguration)
.s3Configuration
- a consumer that will call methods on S3DestinationConfiguration.Builder
s3Configuration(S3DestinationConfiguration)
ElasticsearchDestinationConfiguration.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.default ElasticsearchDestinationConfiguration.Builder processingConfiguration(Consumer<ProcessingConfiguration.Builder> processingConfiguration)
The data processing configuration.
This is a convenience that creates an instance of theProcessingConfiguration.Builder
avoiding the
need to create one manually via ProcessingConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to processingConfiguration(ProcessingConfiguration)
.processingConfiguration
- a consumer that will call methods on ProcessingConfiguration.Builder
processingConfiguration(ProcessingConfiguration)
ElasticsearchDestinationConfiguration.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.default ElasticsearchDestinationConfiguration.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
This is a convenience that creates an instance of theCloudWatchLoggingOptions.Builder
avoiding the
need to create one manually via CloudWatchLoggingOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to cloudWatchLoggingOptions(CloudWatchLoggingOptions)
.cloudWatchLoggingOptions
- a consumer that will call methods on CloudWatchLoggingOptions.Builder
cloudWatchLoggingOptions(CloudWatchLoggingOptions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.