public static interface ElasticsearchDestinationUpdate.Builder extends SdkPojo, CopyableBuilder<ElasticsearchDestinationUpdate.Builder,ElasticsearchDestinationUpdate>
equalsBySdkFields, sdkFields
copy
applyMutation, build
ElasticsearchDestinationUpdate.Builder roleARN(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 Amazon Web Services Service Namespaces.
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 Amazon Web Services Service Namespaces.ElasticsearchDestinationUpdate.Builder domainARN(String domainARN)
The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeDomain
,
DescribeDomains
, and DescribeDomainConfig
after assuming the IAM role specified in
RoleARN
. For more information, see Amazon Resource Names
(ARNs) and Amazon Web Services Service Namespaces.
Specify either ClusterEndpoint
or DomainARN
.
domainARN
- The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeDomain
,
DescribeDomains
, and DescribeDomainConfig
after assuming the IAM role
specified in RoleARN
. For more information, see Amazon Resource
Names (ARNs) and Amazon Web Services Service Namespaces.
Specify either ClusterEndpoint
or DomainARN
.
ElasticsearchDestinationUpdate.Builder clusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint
or
the DomainARN
field.
clusterEndpoint
- The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpoint
or the DomainARN
field.ElasticsearchDestinationUpdate.Builder indexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.ElasticsearchDestinationUpdate.Builder typeName(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
.
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
.
ElasticsearchDestinationUpdate.Builder indexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName
to
facilitate the expiration of old data. For more information, see Index Rotation
for the Amazon ES Destination. Default value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName
to facilitate the expiration of old data. For more information, see Index
Rotation for the Amazon ES Destination. Default value is OneDay
.ElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationUpdate.Builder indexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName
to
facilitate the expiration of old data. For more information, see Index Rotation
for the Amazon ES Destination. Default value is OneDay
.
indexRotationPeriod
- The Elasticsearch index rotation period. Index rotation appends a timestamp to IndexName
to facilitate the expiration of old data. For more information, see Index
Rotation for the Amazon ES 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.
ElasticsearchBufferingHints.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 Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
retryOptions
- The retry behavior in case Kinesis Data 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 Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
This is a convenience method 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 method 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 method 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 method 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 © 2023. All rights reserved.