public static interface ElasticsearchDestinationDescription.Builder extends SdkPojo, CopyableBuilder<ElasticsearchDestinationDescription.Builder,ElasticsearchDestinationDescription>
equalsBySdkFields, sdkFields
copy
applyMutation, build
ElasticsearchDestinationDescription.Builder roleARN(String roleARN)
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
roleARN
- The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource
Names (ARNs) and AWS Service Namespaces.ElasticsearchDestinationDescription.Builder domainARN(String domainARN)
The ARN of the Amazon ES domain. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
Kinesis Data Firehose uses either ClusterEndpoint
or DomainARN
to send data to
Amazon ES.
domainARN
- The ARN of the Amazon ES domain. For more information, see Amazon Resource
Names (ARNs) and AWS Service Namespaces.
Kinesis Data Firehose uses either ClusterEndpoint
or DomainARN
to send data
to Amazon ES.
ElasticsearchDestinationDescription.Builder clusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Kinesis Data Firehose uses either this
ClusterEndpoint
or the DomainARN
field to send data to Amazon ES.
clusterEndpoint
- The endpoint to use when communicating with the cluster. Kinesis Data Firehose uses either this
ClusterEndpoint
or the DomainARN
field to send data to Amazon ES.ElasticsearchDestinationDescription.Builder indexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.ElasticsearchDestinationDescription.Builder typeName(String typeName)
The Elasticsearch type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x,
there's no value for TypeName
.
typeName
- The Elasticsearch type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch
7.x, there's no value for TypeName
.ElasticsearchDestinationDescription.Builder indexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period
indexRotationPeriod
- The Elasticsearch index rotation periodElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationDescription.Builder indexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
indexRotationPeriod
- The Elasticsearch index rotation periodElasticsearchIndexRotationPeriod
,
ElasticsearchIndexRotationPeriod
ElasticsearchDestinationDescription.Builder bufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options.
bufferingHints
- The buffering options.default ElasticsearchDestinationDescription.Builder bufferingHints(Consumer<ElasticsearchBufferingHints.Builder> bufferingHints)
The buffering options.
This is a convenience method 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)
ElasticsearchDestinationDescription.Builder retryOptions(ElasticsearchRetryOptions retryOptions)
The Amazon ES retry options.
retryOptions
- The Amazon ES retry options.default ElasticsearchDestinationDescription.Builder retryOptions(Consumer<ElasticsearchRetryOptions.Builder> retryOptions)
The Amazon ES retry options.
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)
ElasticsearchDestinationDescription.Builder s3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.ElasticsearchS3BackupMode
,
ElasticsearchS3BackupMode
ElasticsearchDestinationDescription.Builder s3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.ElasticsearchS3BackupMode
,
ElasticsearchS3BackupMode
ElasticsearchDestinationDescription.Builder s3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
s3DestinationDescription
- The Amazon S3 destination.default ElasticsearchDestinationDescription.Builder s3DestinationDescription(Consumer<S3DestinationDescription.Builder> s3DestinationDescription)
The Amazon S3 destination.
This is a convenience method that creates an instance of theS3DestinationDescription.Builder
avoiding the need to create one manually via S3DestinationDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to s3DestinationDescription(S3DestinationDescription)
.s3DestinationDescription
- a consumer that will call methods on S3DestinationDescription.Builder
s3DestinationDescription(S3DestinationDescription)
ElasticsearchDestinationDescription.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.default ElasticsearchDestinationDescription.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)
ElasticsearchDestinationDescription.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The Amazon CloudWatch logging options.
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options.default ElasticsearchDestinationDescription.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions)
The Amazon CloudWatch logging options.
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)
ElasticsearchDestinationDescription.Builder vpcConfigurationDescription(VpcConfigurationDescription vpcConfigurationDescription)
The details of the VPC of the Amazon ES destination.
vpcConfigurationDescription
- The details of the VPC of the Amazon ES destination.default ElasticsearchDestinationDescription.Builder vpcConfigurationDescription(Consumer<VpcConfigurationDescription.Builder> vpcConfigurationDescription)
The details of the VPC of the Amazon ES destination.
This is a convenience method that creates an instance of theVpcConfigurationDescription.Builder
avoiding the need to create one manually via VpcConfigurationDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to vpcConfigurationDescription(VpcConfigurationDescription)
.vpcConfigurationDescription
- a consumer that will call methods on VpcConfigurationDescription.Builder
vpcConfigurationDescription(VpcConfigurationDescription)
Copyright © 2022. All rights reserved.