public static interface ElasticsearchDestinationUpdate.Builder extends CopyableBuilder<ElasticsearchDestinationUpdate.Builder,ElasticsearchDestinationUpdate>
copy
apply, build
ElasticsearchDestinationUpdate.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.ElasticsearchDestinationUpdate.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 IAM 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 IAM role specified in
RoleARN.ElasticsearchDestinationUpdate.Builder indexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.ElasticsearchDestinationUpdate.Builder typeName(String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.ElasticsearchDestinationUpdate.Builder indexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a time stamp to IndexName to facilitate the
expiration of old data. For more information, see Index Rotation for
Amazon Elasticsearch Service Destination. Default value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a time stamp to IndexName to
facilitate the expiration of old data. For more information, see Index
Rotation for Amazon Elasticsearch Service Destination. Default value is OneDay
.ElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationUpdate.Builder indexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a time stamp to IndexName to facilitate the
expiration of old data. For more information, see Index Rotation for
Amazon Elasticsearch Service Destination. Default value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a time stamp to IndexName to
facilitate the expiration of old data. For more information, see Index
Rotation for Amazon Elasticsearch Service Destination. Default value is OneDay
.ElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationUpdate.Builder bufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options. If no value is specified, ElasticsearchBufferingHints object default values are used.
bufferingHints
- The buffering options. If no value is specified, ElasticsearchBufferingHints object default
values are used.default ElasticsearchDestinationUpdate.Builder bufferingHints(Consumer<ElasticsearchBufferingHints.Builder> bufferingHints)
The buffering options. If no value is specified, ElasticsearchBufferingHints object default values 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)
ElasticsearchDestinationUpdate.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 ElasticsearchDestinationUpdate.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)
ElasticsearchDestinationUpdate.Builder s3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
s3Update
- The Amazon S3 destination.default ElasticsearchDestinationUpdate.Builder s3Update(Consumer<S3DestinationUpdate.Builder> s3Update)
The Amazon S3 destination.
This is a convenience that creates an instance of theS3DestinationUpdate.Builder
avoiding the need
to create one manually via S3DestinationUpdate.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to s3Update(S3DestinationUpdate)
.s3Update
- a consumer that will call methods on S3DestinationUpdate.Builder
s3Update(S3DestinationUpdate)
ElasticsearchDestinationUpdate.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.default ElasticsearchDestinationUpdate.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)
ElasticsearchDestinationUpdate.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.default ElasticsearchDestinationUpdate.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.