Class CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kinesisfirehose.mixins.CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) clusterJdbcurl(String clusterJdbcurl) copyCommand(IResolvable copyCommand) processingConfiguration(IResolvable processingConfiguration) processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) retryOptions(IResolvable retryOptions) s3BackupConfiguration(IResolvable s3BackupConfiguration) s3BackupConfiguration(CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty s3BackupConfiguration) s3BackupMode(String s3BackupMode) s3Configuration(IResolvable s3Configuration) secretsManagerConfiguration(IResolvable secretsManagerConfiguration) secretsManagerConfiguration(CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty secretsManagerConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- The CloudWatch logging options for your Firehose stream.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- The CloudWatch logging options for your Firehose stream.- Returns:
this
-
clusterJdbcurl
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder clusterJdbcurl(String clusterJdbcurl) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getClusterJdbcurl()- Parameters:
clusterJdbcurl- The connection string that Kinesis Data Firehose uses to connect to the Amazon Redshift cluster.- Returns:
this
-
copyCommand
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder copyCommand(IResolvable copyCommand) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getCopyCommand()- Parameters:
copyCommand- Configures the Amazon RedshiftCOPYcommand that Kinesis Data Firehose uses to load data into the cluster from the Amazon S3 bucket.- Returns:
this
-
copyCommand
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder copyCommand(CfnDeliveryStreamPropsMixin.CopyCommandProperty copyCommand) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getCopyCommand()- Parameters:
copyCommand- Configures the Amazon RedshiftCOPYcommand that Kinesis Data Firehose uses to load data into the cluster from the Amazon S3 bucket.- Returns:
this
-
password
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder password(String password) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getPassword()- Parameters:
password- The password for the Amazon Redshift user that you specified in theUsernameproperty.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder processingConfiguration(IResolvable processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- The data processing configuration for the Kinesis Data Firehose delivery stream.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- The data processing configuration for the Kinesis Data Firehose delivery stream.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder retryOptions(IResolvable retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder retryOptions(CfnDeliveryStreamPropsMixin.RedshiftRetryOptionsProperty retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The ARN of the AWS Identity and Access Management (IAM) role that grants Kinesis Data Firehose access to your Amazon S3 bucket and AWS KMS (if you enable data encryption). For more information, see Grant Kinesis Data Firehose Access to an Amazon Redshift Destination in the Amazon Kinesis Data Firehose Developer Guide .- Returns:
this
-
s3BackupConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder s3BackupConfiguration(IResolvable s3BackupConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getS3BackupConfiguration()- Parameters:
s3BackupConfiguration- The configuration for backup in Amazon S3.- Returns:
this
-
s3BackupConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder s3BackupConfiguration(CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty s3BackupConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getS3BackupConfiguration()- Parameters:
s3BackupConfiguration- The configuration for backup in Amazon S3.- Returns:
this
-
s3BackupMode
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder s3BackupMode(String s3BackupMode) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getS3BackupMode()- Parameters:
s3BackupMode- The Amazon S3 backup mode. After you create a Firehose stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- The S3 bucket where Kinesis Data Firehose first delivers data. After the data is in the bucket, Kinesis Data Firehose uses theCOPYcommand to load the data into the Amazon Redshift cluster. For the Amazon S3 bucket's compression format, don't specifySNAPPYorZIPbecause the Amazon RedshiftCOPYcommand doesn't support them.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder s3Configuration(CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- The S3 bucket where Kinesis Data Firehose first delivers data. After the data is in the bucket, Kinesis Data Firehose uses theCOPYcommand to load the data into the Amazon Redshift cluster. For the Amazon S3 bucket's compression format, don't specifySNAPPYorZIPbecause the Amazon RedshiftCOPYcommand doesn't support them.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder secretsManagerConfiguration(IResolvable secretsManagerConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getSecretsManagerConfiguration()- Parameters:
secretsManagerConfiguration- The configuration that defines how you access secrets for Amazon Redshift.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder secretsManagerConfiguration(CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty secretsManagerConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getSecretsManagerConfiguration()- Parameters:
secretsManagerConfiguration- The configuration that defines how you access secrets for Amazon Redshift.- Returns:
this
-
username
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.Builder username(String username) Sets the value ofCfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty.getUsername()- Parameters:
username- The Amazon Redshift user that has permission to access the Amazon Redshift cluster. This user must haveINSERTprivileges for copying data from the Amazon S3 bucket to the cluster.- Returns:
this
-
build
@Stability(Stable) public CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.RedshiftDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-