Class CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.DatabaseSourceConfigurationProperty>
- Enclosing interface:
CfnDeliveryStream.DatabaseSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.DatabaseSourceConfigurationProperty>
A builder for
CfnDeliveryStream.DatabaseSourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columns(IResolvable columns) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getColumns()Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getColumns()databases(IResolvable databases) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabases()databases(CfnDeliveryStream.DatabasesProperty databases) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabases()databaseSourceAuthenticationConfiguration(IResolvable databaseSourceAuthenticationConfiguration) databaseSourceAuthenticationConfiguration(CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty databaseSourceAuthenticationConfiguration) databaseSourceVpcConfiguration(IResolvable databaseSourceVpcConfiguration) databaseSourceVpcConfiguration(CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty databaseSourceVpcConfiguration) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDigest()Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getEndpoint()Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getPort()publicCertificate(String publicCertificate) snapshotWatermarkTable(String snapshotWatermarkTable) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getSslMode()surrogateKeys(List<String> surrogateKeys) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getSurrogateKeys()tables(IResolvable tables) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getTables()Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getTables()Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databases
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder databases(IResolvable databases) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabases()- Parameters:
databases- the value to be set. This parameter is required.- Returns:
this
-
databases
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder databases(CfnDeliveryStream.DatabasesProperty databases) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabases()- Parameters:
databases- the value to be set. This parameter is required.- Returns:
this
-
databaseSourceAuthenticationConfiguration
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder databaseSourceAuthenticationConfiguration(IResolvable databaseSourceAuthenticationConfiguration) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabaseSourceAuthenticationConfiguration()- Parameters:
databaseSourceAuthenticationConfiguration- the value to be set. This parameter is required.- Returns:
this
-
databaseSourceAuthenticationConfiguration
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder databaseSourceAuthenticationConfiguration(CfnDeliveryStream.DatabaseSourceAuthenticationConfigurationProperty databaseSourceAuthenticationConfiguration) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabaseSourceAuthenticationConfiguration()- Parameters:
databaseSourceAuthenticationConfiguration- the value to be set. This parameter is required.- Returns:
this
-
databaseSourceVpcConfiguration
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder databaseSourceVpcConfiguration(IResolvable databaseSourceVpcConfiguration) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabaseSourceVpcConfiguration()- Parameters:
databaseSourceVpcConfiguration- the value to be set. This parameter is required.- Returns:
this
-
databaseSourceVpcConfiguration
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder databaseSourceVpcConfiguration(CfnDeliveryStream.DatabaseSourceVPCConfigurationProperty databaseSourceVpcConfiguration) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDatabaseSourceVpcConfiguration()- Parameters:
databaseSourceVpcConfiguration- the value to be set. This parameter is required.- Returns:
this
-
endpoint
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder endpoint(String endpoint) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getEndpoint()- Parameters:
endpoint- the value to be set. This parameter is required.- Returns:
this
-
port
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder port(Number port) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getPort()- Parameters:
port- the value to be set. This parameter is required.- Returns:
this
-
snapshotWatermarkTable
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder snapshotWatermarkTable(String snapshotWatermarkTable) - Parameters:
snapshotWatermarkTable- the value to be set. This parameter is required.- Returns:
this
-
tables
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder tables(IResolvable tables) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getTables()- Parameters:
tables- the value to be set. This parameter is required.- Returns:
this
-
tables
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder tables(CfnDeliveryStream.DatabaseTablesProperty tables) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getTables()- Parameters:
tables- the value to be set. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder type(String type) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getType()- Parameters:
type- the value to be set. This parameter is required.- Returns:
this
-
columns
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder columns(IResolvable columns) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getColumns()- Parameters:
columns- the value to be set.- Returns:
this
-
columns
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder columns(CfnDeliveryStream.DatabaseColumnsProperty columns) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getColumns()- Parameters:
columns- the value to be set.- Returns:
this
-
digest
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder digest(String digest) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getDigest()- Parameters:
digest- the value to be set.- Returns:
this
-
publicCertificate
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder publicCertificate(String publicCertificate) - Parameters:
publicCertificate- the value to be set.- Returns:
this
-
sslMode
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder sslMode(String sslMode) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getSslMode()- Parameters:
sslMode- the value to be set.- Returns:
this
-
surrogateKeys
@Stability(Stable) public CfnDeliveryStream.DatabaseSourceConfigurationProperty.Builder surrogateKeys(List<String> surrogateKeys) Sets the value ofCfnDeliveryStream.DatabaseSourceConfigurationProperty.getSurrogateKeys()- Parameters:
surrogateKeys- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.DatabaseSourceConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStream.DatabaseSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-