public static interface ElasticsearchDestinationDescription.Builder extends CopyableBuilder<ElasticsearchDestinationDescription.Builder,ElasticsearchDestinationDescription>
copy
applyMutation, build
ElasticsearchDestinationDescription.Builder roleARN(String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.ElasticsearchDestinationDescription.Builder domainARN(String domainARN)
The ARN of the Amazon ES domain.
domainARN
- The ARN of the Amazon ES domain.ElasticsearchDestinationDescription.Builder indexName(String indexName)
The Elasticsearch index name.
indexName
- The Elasticsearch index name.ElasticsearchDestinationDescription.Builder typeName(String typeName)
The Elasticsearch type name.
typeName
- The Elasticsearch type name.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 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 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 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 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 CloudWatch logging options.
cloudWatchLoggingOptions
- The CloudWatch logging options.default ElasticsearchDestinationDescription.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions)
The CloudWatch logging options.
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.