Interface ElasticsearchDestinationDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ElasticsearchDestinationDescription.Builder,ElasticsearchDestinationDescription>
,SdkBuilder<ElasticsearchDestinationDescription.Builder,ElasticsearchDestinationDescription>
,SdkPojo
- Enclosing class:
- ElasticsearchDestinationDescription
public static interface ElasticsearchDestinationDescription.Builder extends SdkPojo, CopyableBuilder<ElasticsearchDestinationDescription.Builder,ElasticsearchDestinationDescription>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
roleARN
ElasticsearchDestinationDescription.Builder roleARN(String roleARN)
The Amazon Resource Name (ARN) of the Amazon Web Services credentials. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
- Parameters:
roleARN
- The Amazon Resource Name (ARN) of the Amazon Web Services credentials. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainARN
ElasticsearchDestinationDescription.Builder domainARN(String domainARN)
The ARN of the Amazon ES domain. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
Firehose uses either
ClusterEndpoint
orDomainARN
to send data to Amazon ES.- Parameters:
domainARN
- The ARN of the Amazon ES domain. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.Firehose uses either
ClusterEndpoint
orDomainARN
to send data to Amazon ES.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterEndpoint
ElasticsearchDestinationDescription.Builder clusterEndpoint(String clusterEndpoint)
The endpoint to use when communicating with the cluster. Firehose uses either this
ClusterEndpoint
or theDomainARN
field to send data to Amazon ES.- Parameters:
clusterEndpoint
- The endpoint to use when communicating with the cluster. Firehose uses either thisClusterEndpoint
or theDomainARN
field to send data to Amazon ES.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
ElasticsearchDestinationDescription.Builder indexName(String indexName)
The Elasticsearch index name.
- Parameters:
indexName
- The Elasticsearch index name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeName
ElasticsearchDestinationDescription.Builder typeName(String typeName)
The Elasticsearch type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x and OpenSearch Service 1.x, there's no value for
TypeName
.- Parameters:
typeName
- The Elasticsearch type name. This applies to Elasticsearch 6.x and lower versions. For Elasticsearch 7.x and OpenSearch Service 1.x, there's no value forTypeName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexRotationPeriod
ElasticsearchDestinationDescription.Builder indexRotationPeriod(String indexRotationPeriod)
The Elasticsearch index rotation period
- Parameters:
indexRotationPeriod
- The Elasticsearch index rotation period- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchIndexRotationPeriod
,ElasticsearchIndexRotationPeriod
-
indexRotationPeriod
ElasticsearchDestinationDescription.Builder indexRotationPeriod(ElasticsearchIndexRotationPeriod indexRotationPeriod)
The Elasticsearch index rotation period
- Parameters:
indexRotationPeriod
- The Elasticsearch index rotation period- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchIndexRotationPeriod
,ElasticsearchIndexRotationPeriod
-
bufferingHints
ElasticsearchDestinationDescription.Builder bufferingHints(ElasticsearchBufferingHints bufferingHints)
The buffering options.
- Parameters:
bufferingHints
- The buffering options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bufferingHints
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 viaElasticsearchBufferingHints.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobufferingHints(ElasticsearchBufferingHints)
.- Parameters:
bufferingHints
- a consumer that will call methods onElasticsearchBufferingHints.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bufferingHints(ElasticsearchBufferingHints)
-
retryOptions
ElasticsearchDestinationDescription.Builder retryOptions(ElasticsearchRetryOptions retryOptions)
The Amazon ES retry options.
- Parameters:
retryOptions
- The Amazon ES retry options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryOptions
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 viaElasticsearchRetryOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryOptions(ElasticsearchRetryOptions)
.- Parameters:
retryOptions
- a consumer that will call methods onElasticsearchRetryOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retryOptions(ElasticsearchRetryOptions)
-
s3BackupMode
ElasticsearchDestinationDescription.Builder s3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
- Parameters:
s3BackupMode
- The Amazon S3 backup mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchS3BackupMode
,ElasticsearchS3BackupMode
-
s3BackupMode
ElasticsearchDestinationDescription.Builder s3BackupMode(ElasticsearchS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
- Parameters:
s3BackupMode
- The Amazon S3 backup mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticsearchS3BackupMode
,ElasticsearchS3BackupMode
-
s3DestinationDescription
ElasticsearchDestinationDescription.Builder s3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
- Parameters:
s3DestinationDescription
- The Amazon S3 destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DestinationDescription
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 viaS3DestinationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3DestinationDescription(S3DestinationDescription)
.- Parameters:
s3DestinationDescription
- a consumer that will call methods onS3DestinationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3DestinationDescription(S3DestinationDescription)
-
processingConfiguration
ElasticsearchDestinationDescription.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
- Parameters:
processingConfiguration
- The data processing configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingConfiguration
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 viaProcessingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessingConfiguration(ProcessingConfiguration)
.- Parameters:
processingConfiguration
- a consumer that will call methods onProcessingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
processingConfiguration(ProcessingConfiguration)
-
cloudWatchLoggingOptions
ElasticsearchDestinationDescription.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The Amazon CloudWatch logging options.
- Parameters:
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOptions
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 viaCloudWatchLoggingOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLoggingOptions(CloudWatchLoggingOptions)
.- Parameters:
cloudWatchLoggingOptions
- a consumer that will call methods onCloudWatchLoggingOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cloudWatchLoggingOptions(CloudWatchLoggingOptions)
-
vpcConfigurationDescription
ElasticsearchDestinationDescription.Builder vpcConfigurationDescription(VpcConfigurationDescription vpcConfigurationDescription)
The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless destination.
- Parameters:
vpcConfigurationDescription
- The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfigurationDescription
default ElasticsearchDestinationDescription.Builder vpcConfigurationDescription(Consumer<VpcConfigurationDescription.Builder> vpcConfigurationDescription)
The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless destination.
This is a convenience method that creates an instance of theVpcConfigurationDescription.Builder
avoiding the need to create one manually viaVpcConfigurationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfigurationDescription(VpcConfigurationDescription)
.- Parameters:
vpcConfigurationDescription
- a consumer that will call methods onVpcConfigurationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfigurationDescription(VpcConfigurationDescription)
-
documentIdOptions
ElasticsearchDestinationDescription.Builder documentIdOptions(DocumentIdOptions documentIdOptions)
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
- Parameters:
documentIdOptions
- Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentIdOptions
default ElasticsearchDestinationDescription.Builder documentIdOptions(Consumer<DocumentIdOptions.Builder> documentIdOptions)
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
This is a convenience method that creates an instance of theDocumentIdOptions.Builder
avoiding the need to create one manually viaDocumentIdOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentIdOptions(DocumentIdOptions)
.- Parameters:
documentIdOptions
- a consumer that will call methods onDocumentIdOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
documentIdOptions(DocumentIdOptions)
-
-