Class DatastreamStreamSourceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_stream.DatastreamStreamSourceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamStreamSourceConfig>
- Enclosing interface:
- DatastreamStreamSourceConfig
@Stability(Stable) public static final class DatastreamStreamSourceConfig.Builder extends Object implements software.amazon.jsii.Builder<DatastreamStreamSourceConfig>
A builder forDatastreamStreamSourceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
sourceConnectionProfile
@Stability(Stable) public DatastreamStreamSourceConfig.Builder sourceConnectionProfile(String sourceConnectionProfile)
Sets the value ofDatastreamStreamSourceConfig.getSourceConnectionProfile()- Parameters:
sourceConnectionProfile- Source connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#source_connection_profile DatastreamStream#source_connection_profile}- Returns:
this
-
mysqlSourceConfig
@Stability(Stable) public DatastreamStreamSourceConfig.Builder mysqlSourceConfig(DatastreamStreamSourceConfigMysqlSourceConfig mysqlSourceConfig)
Sets the value ofDatastreamStreamSourceConfig.getMysqlSourceConfig()- Parameters:
mysqlSourceConfig- mysql_source_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#mysql_source_config DatastreamStream#mysql_source_config}- Returns:
this
-
oracleSourceConfig
@Stability(Stable) public DatastreamStreamSourceConfig.Builder oracleSourceConfig(DatastreamStreamSourceConfigOracleSourceConfig oracleSourceConfig)
Sets the value ofDatastreamStreamSourceConfig.getOracleSourceConfig()- Parameters:
oracleSourceConfig- oracle_source_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#oracle_source_config DatastreamStream#oracle_source_config}- Returns:
this
-
postgresqlSourceConfig
@Stability(Stable) public DatastreamStreamSourceConfig.Builder postgresqlSourceConfig(DatastreamStreamSourceConfigPostgresqlSourceConfig postgresqlSourceConfig)
Sets the value ofDatastreamStreamSourceConfig.getPostgresqlSourceConfig()- Parameters:
postgresqlSourceConfig- postgresql_source_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#postgresql_source_config DatastreamStream#postgresql_source_config}- Returns:
this
-
sqlServerSourceConfig
@Stability(Stable) public DatastreamStreamSourceConfig.Builder sqlServerSourceConfig(DatastreamStreamSourceConfigSqlServerSourceConfig sqlServerSourceConfig)
Sets the value ofDatastreamStreamSourceConfig.getSqlServerSourceConfig()- Parameters:
sqlServerSourceConfig- sql_server_source_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_stream#sql_server_source_config DatastreamStream#sql_server_source_config}- Returns:
this
-
build
@Stability(Stable) public DatastreamStreamSourceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamStreamSourceConfig>- Returns:
- a new instance of
DatastreamStreamSourceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-