Class CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountUrl(String accountUrl) bufferingHints(IResolvable bufferingHints) build()Builds the configured instance.cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) contentColumnName(String contentColumnName) dataLoadingOption(String dataLoadingOption) keyPassphrase(String keyPassphrase) metaDataColumnName(String metaDataColumnName) privateKey(String privateKey) processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) processingConfiguration(IResolvable processingConfiguration) retryOptions(IResolvable retryOptions) s3BackupMode(String s3BackupMode) s3Configuration(IResolvable s3Configuration) secretsManagerConfiguration(CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty secretsManagerConfiguration) secretsManagerConfiguration(IResolvable secretsManagerConfiguration) snowflakeRoleConfiguration(CfnDeliveryStreamPropsMixin.SnowflakeRoleConfigurationProperty snowflakeRoleConfiguration) snowflakeRoleConfiguration(IResolvable snowflakeRoleConfiguration) snowflakeVpcConfiguration(CfnDeliveryStreamPropsMixin.SnowflakeVpcConfigurationProperty snowflakeVpcConfiguration) snowflakeVpcConfiguration(IResolvable snowflakeVpcConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountUrl
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder accountUrl(String accountUrl) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getAccountUrl()- Parameters:
accountUrl- URL for accessing your Snowflake account. This URL must include your account identifier . Note that the protocol (https://) and port number are optional.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder bufferingHints(IResolvable bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder bufferingHints(CfnDeliveryStreamPropsMixin.SnowflakeBufferingHintsProperty bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- the value to be set.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- the value to be set.- Returns:
this
-
contentColumnName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder contentColumnName(String contentColumnName) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getContentColumnName()- Parameters:
contentColumnName- The name of the record content column.- Returns:
this
-
database
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder database(String database) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getDatabase()- Parameters:
database- All data in Snowflake is maintained in databases.- Returns:
this
-
dataLoadingOption
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder dataLoadingOption(String dataLoadingOption) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getDataLoadingOption()- Parameters:
dataLoadingOption- Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.- Returns:
this
-
keyPassphrase
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder keyPassphrase(String keyPassphrase) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getKeyPassphrase()- Parameters:
keyPassphrase- Passphrase to decrypt the private key when the key is encrypted. For information, see Using Key Pair Authentication & Key Rotation .- Returns:
this
-
metaDataColumnName
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder metaDataColumnName(String metaDataColumnName) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getMetaDataColumnName()- Parameters:
metaDataColumnName- Specify a column name in the table, where the metadata information has to be loaded. When you enable this field, you will see the following column in the snowflake table, which differs based on the source type.For Direct PUT as source
{ "firehoseDeliveryStreamName" : "streamname", "IngestionTime" : "timestamp" }For Kinesis Data Stream as source
"kinesisStreamName" : "streamname", "kinesisShardId" : "Id", "kinesisPartitionKey" : "key", "kinesisSequenceNumber" : "1234", "subsequenceNumber" : "2334", "IngestionTime" : "timestamp" }- Returns:
this
-
privateKey
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder privateKey(String privateKey) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getPrivateKey()- Parameters:
privateKey- The private key used to encrypt your Snowflake client. For information, see Using Key Pair Authentication & Key Rotation .- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder processingConfiguration(IResolvable processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- the value to be set.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder processingConfiguration(CfnDeliveryStreamPropsMixin.ProcessingConfigurationProperty processingConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getProcessingConfiguration()- Parameters:
processingConfiguration- the value to be set.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder retryOptions(IResolvable retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The time period where Firehose will retry sending data to the chosen HTTP endpoint.- Returns:
this
-
retryOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder retryOptions(CfnDeliveryStreamPropsMixin.SnowflakeRetryOptionsProperty retryOptions) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getRetryOptions()- Parameters:
retryOptions- The time period where Firehose will retry sending data to the chosen HTTP endpoint.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the Snowflake role.- Returns:
this
-
s3BackupMode
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder s3BackupMode(String s3BackupMode) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getS3BackupMode()- Parameters:
s3BackupMode- Choose an S3 backup mode.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder s3Configuration(IResolvable s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- the value to be set.- Returns:
this
-
s3Configuration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder s3Configuration(CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty s3Configuration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getS3Configuration()- Parameters:
s3Configuration- the value to be set.- Returns:
this
-
schema
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder schema(String schema) - Parameters:
schema- Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and views.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder secretsManagerConfiguration(IResolvable secretsManagerConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getSecretsManagerConfiguration()- Parameters:
secretsManagerConfiguration- The configuration that defines how you access secrets for Snowflake.- Returns:
this
-
secretsManagerConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder secretsManagerConfiguration(CfnDeliveryStreamPropsMixin.SecretsManagerConfigurationProperty secretsManagerConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getSecretsManagerConfiguration()- Parameters:
secretsManagerConfiguration- The configuration that defines how you access secrets for Snowflake.- Returns:
this
-
snowflakeRoleConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder snowflakeRoleConfiguration(IResolvable snowflakeRoleConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getSnowflakeRoleConfiguration()- Parameters:
snowflakeRoleConfiguration- Optionally configure a Snowflake role. Otherwise the default user role will be used.- Returns:
this
-
snowflakeRoleConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder snowflakeRoleConfiguration(CfnDeliveryStreamPropsMixin.SnowflakeRoleConfigurationProperty snowflakeRoleConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getSnowflakeRoleConfiguration()- Parameters:
snowflakeRoleConfiguration- Optionally configure a Snowflake role. Otherwise the default user role will be used.- Returns:
this
-
snowflakeVpcConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder snowflakeVpcConfiguration(IResolvable snowflakeVpcConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getSnowflakeVpcConfiguration()- Parameters:
snowflakeVpcConfiguration- The VPCE ID for Firehose to privately connect with Snowflake. The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see Amazon PrivateLink & Snowflake- Returns:
this
-
snowflakeVpcConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder snowflakeVpcConfiguration(CfnDeliveryStreamPropsMixin.SnowflakeVpcConfigurationProperty snowflakeVpcConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.getSnowflakeVpcConfiguration()- Parameters:
snowflakeVpcConfiguration- The VPCE ID for Firehose to privately connect with Snowflake. The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see Amazon PrivateLink & Snowflake- Returns:
this
-
table
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder table(String table) - Parameters:
table- All data in Snowflake is stored in database tables, logically structured as collections of columns and rows.- Returns:
this
-
user
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty.Builder user(String user) - Parameters:
user- User login name for the Snowflake account.- Returns:
this
-
build
@Stability(Stable) public CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.SnowflakeDestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-