Class CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columns(IResolvable columns) databases(IResolvable databases) databaseSourceAuthenticationConfiguration(CfnDeliveryStreamPropsMixin.DatabaseSourceAuthenticationConfigurationProperty databaseSourceAuthenticationConfiguration) databaseSourceAuthenticationConfiguration(IResolvable databaseSourceAuthenticationConfiguration) databaseSourceVpcConfiguration(CfnDeliveryStreamPropsMixin.DatabaseSourceVPCConfigurationProperty databaseSourceVpcConfiguration) databaseSourceVpcConfiguration(IResolvable databaseSourceVpcConfiguration) publicCertificate(String publicCertificate) snapshotWatermarkTable(String snapshotWatermarkTable) surrogateKeys(List<String> surrogateKeys) tables(IResolvable tables)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder columns(IResolvable columns) - Parameters:
columns- The list of column patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
columns
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder columns(CfnDeliveryStreamPropsMixin.DatabaseColumnsProperty columns) - Parameters:
columns- The list of column patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
databases
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder databases(IResolvable databases) - Parameters:
databases- The list of database patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
databases
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder databases(CfnDeliveryStreamPropsMixin.DatabasesProperty databases) - Parameters:
databases- The list of database patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
databaseSourceAuthenticationConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder databaseSourceAuthenticationConfiguration(IResolvable databaseSourceAuthenticationConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getDatabaseSourceAuthenticationConfiguration()- Parameters:
databaseSourceAuthenticationConfiguration- The structure to configure the authentication methods for Firehose to connect to source database endpoint. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
databaseSourceAuthenticationConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder databaseSourceAuthenticationConfiguration(CfnDeliveryStreamPropsMixin.DatabaseSourceAuthenticationConfigurationProperty databaseSourceAuthenticationConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getDatabaseSourceAuthenticationConfiguration()- Parameters:
databaseSourceAuthenticationConfiguration- The structure to configure the authentication methods for Firehose to connect to source database endpoint. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
databaseSourceVpcConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder databaseSourceVpcConfiguration(IResolvable databaseSourceVpcConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getDatabaseSourceVpcConfiguration()- Parameters:
databaseSourceVpcConfiguration- The details of the VPC Endpoint Service which Firehose uses to create a PrivateLink to the database. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
databaseSourceVpcConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder databaseSourceVpcConfiguration(CfnDeliveryStreamPropsMixin.DatabaseSourceVPCConfigurationProperty databaseSourceVpcConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getDatabaseSourceVpcConfiguration()- Parameters:
databaseSourceVpcConfiguration- The details of the VPC Endpoint Service which Firehose uses to create a PrivateLink to the database. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
digest
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder digest(String digest) - Parameters:
digest- the value to be set.- Returns:
this
-
endpoint
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder endpoint(String endpoint) - Parameters:
endpoint- The endpoint of the database server. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
port
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder port(Number port) - Parameters:
port- The port of the database. This can be one of the following values.- 3306 for MySQL database type
- 5432 for PostgreSQL database type
Amazon Data Firehose is in preview release and is subject to change.
- Returns:
this
-
publicCertificate
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder publicCertificate(String publicCertificate) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getPublicCertificate()- Parameters:
publicCertificate- the value to be set.- Returns:
this
-
snapshotWatermarkTable
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder snapshotWatermarkTable(String snapshotWatermarkTable) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getSnapshotWatermarkTable()- Parameters:
snapshotWatermarkTable- The fully qualified name of the table in source database endpoint that Firehose uses to track snapshot progress. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
sslMode
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder sslMode(String sslMode) - Parameters:
sslMode- The mode to enable or disable SSL when Firehose connects to the database endpoint. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
surrogateKeys
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder surrogateKeys(List<String> surrogateKeys) Sets the value ofCfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.getSurrogateKeys()- Parameters:
surrogateKeys- The optional list of table and column names used as unique key columns when taking snapshot if the tables don’t have primary keys configured. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
tables
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder tables(IResolvable tables) - Parameters:
tables- The list of table patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
tables
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder tables(CfnDeliveryStreamPropsMixin.DatabaseTablesProperty tables) - Parameters:
tables- The list of table patterns in source database endpoint for Firehose to read from. Amazon Data Firehose is in preview release and is subject to change.- Returns:
this
-
type
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty.Builder type(String type) - Parameters:
type- The type of database engine. This can be one of the following values.- MySQL
- PostgreSQL
Amazon Data Firehose is in preview release and is subject to change.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.DatabaseSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-