Class CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferingHints(CfnDeliveryStreamPropsMixin.AmazonopensearchserviceBufferingHintsProperty bufferingHints) bufferingHints(IResolvable bufferingHints) build()Builds the configured instance.cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) clusterEndpoint(String clusterEndpoint) documentIdOptions(CfnDeliveryStreamPropsMixin.DocumentIdOptionsProperty documentIdOptions) documentIdOptions(IResolvable documentIdOptions) domainArn(IDomainRef domainArn) indexRotationPeriod(String indexRotationPeriod) processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) processingConfiguration(IResolvable processingConfiguration) retryOptions(IResolvable retryOptions) s3BackupMode(String s3BackupMode) s3Configuration(IResolvable s3Configuration) vpcConfiguration(CfnDeliveryStreamPropsMixin.VpcConfigurationProperty vpcConfiguration) vpcConfiguration(IResolvable vpcConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder bufferingHints(IResolvable bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder bufferingHints(CfnDeliveryStreamPropsMixin.AmazonopensearchserviceBufferingHintsProperty bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- The buffering options. If no value is specified, the default values for AmazonopensearchserviceBufferingHints are used.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- Describes the Amazon CloudWatch logging options for your delivery stream.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- Describes the Amazon CloudWatch logging options for your delivery stream.- Returns:
this
-
clusterEndpoint
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder clusterEndpoint(String clusterEndpoint) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getClusterEndpoint()- Parameters:
clusterEndpoint- The endpoint to use when communicating with the cluster. Specify either this ClusterEndpoint or the DomainARN field.- Returns:
this
-
documentIdOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder documentIdOptions(IResolvable documentIdOptions) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getDocumentIdOptions()- 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:
this
-
documentIdOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder documentIdOptions(CfnDeliveryStreamPropsMixin.DocumentIdOptionsProperty documentIdOptions) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getDocumentIdOptions()- 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:
this
-
domainArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder domainArn(String domainArn) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getDomainArn()- Parameters:
domainArn- The ARN of the Amazon OpenSearch Service domain.- Returns:
this
-
domainArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder domainArn(IDomainRef domainArn) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getDomainArn()- Parameters:
domainArn- The ARN of the Amazon OpenSearch Service domain.- Returns:
this
-
indexName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder indexName(String indexName) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getIndexName()- Parameters:
indexName- The Amazon OpenSearch Service index name.- Returns:
this
-
indexRotationPeriod
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder indexRotationPeriod(String indexRotationPeriod) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getIndexRotationPeriod()- Parameters:
indexRotationPeriod- The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to the IndexName to facilitate the expiration of old data.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder processingConfiguration(IResolvable processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- Describes a data processing configuration.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- Describes a data processing configuration.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder retryOptions(IResolvable retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder retryOptions(CfnDeliveryStreamPropsMixin.AmazonopensearchserviceRetryOptionsProperty retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon OpenSearch Service. The default value is 300 (5 minutes).- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon OpenSearch Service Configuration API and for indexing documents.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon OpenSearch Service Configuration API and for indexing documents.- Returns:
this
-
s3BackupMode
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder s3BackupMode(String s3BackupMode) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getS3BackupMode()- Parameters:
s3BackupMode- Defines how documents should be delivered to Amazon S3.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- Describes the configuration of a destination in Amazon S3.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder s3Configuration(CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- Describes the configuration of a destination in Amazon S3.- Returns:
this
-
typeName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder typeName(String typeName) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getTypeName()- Parameters:
typeName- The Amazon OpenSearch Service type name.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- The details of the VPC of the Amazon OpenSearch Service destination.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.Builder vpcConfiguration(CfnDeliveryStreamPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- The details of the VPC of the Amazon OpenSearch Service destination.- Returns:
this
-
build
@Stability(Stable) public CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.AmazonopensearchserviceDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-