Interface AmazonOpenSearchServerlessDestinationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AmazonOpenSearchServerlessDestinationConfiguration.Builder,
,AmazonOpenSearchServerlessDestinationConfiguration> SdkBuilder<AmazonOpenSearchServerlessDestinationConfiguration.Builder,
,AmazonOpenSearchServerlessDestinationConfiguration> SdkPojo
- Enclosing class:
AmazonOpenSearchServerlessDestinationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbufferingHints
(Consumer<AmazonOpenSearchServerlessBufferingHints.Builder> bufferingHints) The buffering options.bufferingHints
(AmazonOpenSearchServerlessBufferingHints bufferingHints) The buffering options.cloudWatchLoggingOptions
(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions) Sets the value of the CloudWatchLoggingOptions property for this object.cloudWatchLoggingOptions
(CloudWatchLoggingOptions cloudWatchLoggingOptions) Sets the value of the CloudWatchLoggingOptions property for this object.collectionEndpoint
(String collectionEndpoint) The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.The Serverless offering for Amazon OpenSearch Service index name.processingConfiguration
(Consumer<ProcessingConfiguration.Builder> processingConfiguration) Sets the value of the ProcessingConfiguration property for this object.processingConfiguration
(ProcessingConfiguration processingConfiguration) Sets the value of the ProcessingConfiguration property for this object.retryOptions
(Consumer<AmazonOpenSearchServerlessRetryOptions.Builder> retryOptions) The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service.retryOptions
(AmazonOpenSearchServerlessRetryOptions retryOptions) The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service.The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.s3BackupMode
(String s3BackupMode) Defines how documents should be delivered to Amazon S3.s3BackupMode
(AmazonOpenSearchServerlessS3BackupMode s3BackupMode) Defines how documents should be delivered to Amazon S3.s3Configuration
(Consumer<S3DestinationConfiguration.Builder> s3Configuration) Sets the value of the S3Configuration property for this object.s3Configuration
(S3DestinationConfiguration s3Configuration) Sets the value of the S3Configuration property for this object.vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object.vpcConfiguration
(VpcConfiguration vpcConfiguration) Sets the value of the VpcConfiguration property for this object.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 Details
-
roleARN
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.
- Parameters:
roleARN
- The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for Amazon OpenSearch Service Configuration API and for indexing documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionEndpoint
AmazonOpenSearchServerlessDestinationConfiguration.Builder collectionEndpoint(String collectionEndpoint) The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.
- Parameters:
collectionEndpoint
- The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The Serverless offering for Amazon OpenSearch Service index name.
- Parameters:
indexName
- The Serverless offering for Amazon OpenSearch Service index name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bufferingHints
AmazonOpenSearchServerlessDestinationConfiguration.Builder bufferingHints(AmazonOpenSearchServerlessBufferingHints bufferingHints) The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
- Parameters:
bufferingHints
- The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bufferingHints
default AmazonOpenSearchServerlessDestinationConfiguration.Builder bufferingHints(Consumer<AmazonOpenSearchServerlessBufferingHints.Builder> bufferingHints) The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.
This is a convenience method that creates an instance of theAmazonOpenSearchServerlessBufferingHints.Builder
avoiding the need to create one manually viaAmazonOpenSearchServerlessBufferingHints.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobufferingHints(AmazonOpenSearchServerlessBufferingHints)
.- Parameters:
bufferingHints
- a consumer that will call methods onAmazonOpenSearchServerlessBufferingHints.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retryOptions
AmazonOpenSearchServerlessDestinationConfiguration.Builder retryOptions(AmazonOpenSearchServerlessRetryOptions retryOptions) The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
- Parameters:
retryOptions
- The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryOptions
default AmazonOpenSearchServerlessDestinationConfiguration.Builder retryOptions(Consumer<AmazonOpenSearchServerlessRetryOptions.Builder> retryOptions) The retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service. The default value is 300 (5 minutes).
This is a convenience method that creates an instance of theAmazonOpenSearchServerlessRetryOptions.Builder
avoiding the need to create one manually viaAmazonOpenSearchServerlessRetryOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryOptions(AmazonOpenSearchServerlessRetryOptions)
.- Parameters:
retryOptions
- a consumer that will call methods onAmazonOpenSearchServerlessRetryOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BackupMode
Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
- Parameters:
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BackupMode
AmazonOpenSearchServerlessDestinationConfiguration.Builder s3BackupMode(AmazonOpenSearchServerlessS3BackupMode s3BackupMode) Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.
- Parameters:
s3BackupMode
- Defines how documents should be delivered to Amazon S3. When it is set to FailedDocumentsOnly, Firehose writes any documents that could not be indexed to the configured Amazon S3 destination, with AmazonOpenSearchService-failed/ appended to the key prefix. When set to AllDocuments, Firehose delivers all incoming records to Amazon S3, and also writes failed documents with AmazonOpenSearchService-failed/ appended to the prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Configuration
AmazonOpenSearchServerlessDestinationConfiguration.Builder s3Configuration(S3DestinationConfiguration s3Configuration) Sets the value of the S3Configuration property for this object.- Parameters:
s3Configuration
- The new value for the S3Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
default AmazonOpenSearchServerlessDestinationConfiguration.Builder s3Configuration(Consumer<S3DestinationConfiguration.Builder> s3Configuration) Sets the value of the S3Configuration property for this object. This is a convenience method that creates an instance of theS3DestinationConfiguration.Builder
avoiding the need to create one manually viaS3DestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Configuration(S3DestinationConfiguration)
.- Parameters:
s3Configuration
- a consumer that will call methods onS3DestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingConfiguration
AmazonOpenSearchServerlessDestinationConfiguration.Builder processingConfiguration(ProcessingConfiguration processingConfiguration) Sets the value of the ProcessingConfiguration property for this object.- Parameters:
processingConfiguration
- The new value for the ProcessingConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingConfiguration
default AmazonOpenSearchServerlessDestinationConfiguration.Builder processingConfiguration(Consumer<ProcessingConfiguration.Builder> processingConfiguration) Sets the value of the ProcessingConfiguration property for this object. 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:
-
cloudWatchLoggingOptions
AmazonOpenSearchServerlessDestinationConfiguration.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) Sets the value of the CloudWatchLoggingOptions property for this object.- Parameters:
cloudWatchLoggingOptions
- The new value for the CloudWatchLoggingOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOptions
default AmazonOpenSearchServerlessDestinationConfiguration.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions) Sets the value of the CloudWatchLoggingOptions property for this object. 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:
-
vpcConfiguration
AmazonOpenSearchServerlessDestinationConfiguration.Builder vpcConfiguration(VpcConfiguration vpcConfiguration) Sets the value of the VpcConfiguration property for this object.- Parameters:
vpcConfiguration
- The new value for the VpcConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default AmazonOpenSearchServerlessDestinationConfiguration.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) Sets the value of the VpcConfiguration property for this object. This is a convenience method that creates an instance of theVpcConfiguration.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfiguration(VpcConfiguration)
.- Parameters:
vpcConfiguration
- a consumer that will call methods onVpcConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-