Class DatastreamConnectionProfileConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_connection_profile.DatastreamConnectionProfileConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamConnectionProfileConfig>
- Enclosing interface:
- DatastreamConnectionProfileConfig
@Stability(Stable) public static final class DatastreamConnectionProfileConfig.Builder extends Object implements software.amazon.jsii.Builder<DatastreamConnectionProfileConfig>
A builder forDatastreamConnectionProfileConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
connectionProfileId
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder connectionProfileId(String connectionProfileId)
Sets the value ofDatastreamConnectionProfileConfig.getConnectionProfileId()- Parameters:
connectionProfileId- The connection profile identifier. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#connection_profile_id DatastreamConnectionProfile#connection_profile_id}- Returns:
this
-
displayName
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder displayName(String displayName)
Sets the value ofDatastreamConnectionProfileConfig.getDisplayName()- Parameters:
displayName- Display name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#display_name DatastreamConnectionProfile#display_name}- Returns:
this
-
location
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder location(String location)
Sets the value ofDatastreamConnectionProfileConfig.getLocation()- Parameters:
location- The name of the location this connection profile is located in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#location DatastreamConnectionProfile#location}- Returns:
this
-
bigqueryProfile
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder bigqueryProfile(DatastreamConnectionProfileBigqueryProfile bigqueryProfile)
Sets the value ofDatastreamConnectionProfileConfig.getBigqueryProfile()- Parameters:
bigqueryProfile- bigquery_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#bigquery_profile DatastreamConnectionProfile#bigquery_profile}- Returns:
this
-
createWithoutValidation
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder createWithoutValidation(Boolean createWithoutValidation)
Sets the value ofDatastreamConnectionProfileConfig.getCreateWithoutValidation()- Parameters:
createWithoutValidation- Create the connection profile without validating it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#create_without_validation DatastreamConnectionProfile#create_without_validation}- Returns:
this
-
createWithoutValidation
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder createWithoutValidation(com.hashicorp.cdktf.IResolvable createWithoutValidation)
Sets the value ofDatastreamConnectionProfileConfig.getCreateWithoutValidation()- Parameters:
createWithoutValidation- Create the connection profile without validating it. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#create_without_validation DatastreamConnectionProfile#create_without_validation}- Returns:
this
-
forwardSshConnectivity
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder forwardSshConnectivity(DatastreamConnectionProfileForwardSshConnectivity forwardSshConnectivity)
Sets the value ofDatastreamConnectionProfileConfig.getForwardSshConnectivity()- Parameters:
forwardSshConnectivity- forward_ssh_connectivity block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#forward_ssh_connectivity DatastreamConnectionProfile#forward_ssh_connectivity}- Returns:
this
-
gcsProfile
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder gcsProfile(DatastreamConnectionProfileGcsProfile gcsProfile)
Sets the value ofDatastreamConnectionProfileConfig.getGcsProfile()- Parameters:
gcsProfile- gcs_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#gcs_profile DatastreamConnectionProfile#gcs_profile}- Returns:
this
-
id
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder id(String id)
Sets the value ofDatastreamConnectionProfileConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#id DatastreamConnectionProfile#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
labels
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder labels(Map<String,String> labels)
Sets the value ofDatastreamConnectionProfileConfig.getLabels()- Parameters:
labels- Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#labels DatastreamConnectionProfile#labels}- Returns:
this
-
mysqlProfile
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder mysqlProfile(DatastreamConnectionProfileMysqlProfile mysqlProfile)
Sets the value ofDatastreamConnectionProfileConfig.getMysqlProfile()- Parameters:
mysqlProfile- mysql_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#mysql_profile DatastreamConnectionProfile#mysql_profile}- Returns:
this
-
oracleProfile
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder oracleProfile(DatastreamConnectionProfileOracleProfile oracleProfile)
Sets the value ofDatastreamConnectionProfileConfig.getOracleProfile()- Parameters:
oracleProfile- oracle_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#oracle_profile DatastreamConnectionProfile#oracle_profile}- Returns:
this
-
postgresqlProfile
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder postgresqlProfile(DatastreamConnectionProfilePostgresqlProfile postgresqlProfile)
Sets the value ofDatastreamConnectionProfileConfig.getPostgresqlProfile()- Parameters:
postgresqlProfile- postgresql_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#postgresql_profile DatastreamConnectionProfile#postgresql_profile}- Returns:
this
-
privateConnectivity
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder privateConnectivity(DatastreamConnectionProfilePrivateConnectivity privateConnectivity)
Sets the value ofDatastreamConnectionProfileConfig.getPrivateConnectivity()- Parameters:
privateConnectivity- private_connectivity block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#private_connectivity DatastreamConnectionProfile#private_connectivity}- Returns:
this
-
project
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder project(String project)
Sets the value ofDatastreamConnectionProfileConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#project DatastreamConnectionProfile#project}.- Returns:
this
-
sqlServerProfile
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder sqlServerProfile(DatastreamConnectionProfileSqlServerProfile sqlServerProfile)
Sets the value ofDatastreamConnectionProfileConfig.getSqlServerProfile()- Parameters:
sqlServerProfile- sql_server_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#sql_server_profile DatastreamConnectionProfile#sql_server_profile}- Returns:
this
-
timeouts
@Stability(Stable) public DatastreamConnectionProfileConfig.Builder timeouts(DatastreamConnectionProfileTimeouts timeouts)
Sets the value ofDatastreamConnectionProfileConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#timeouts DatastreamConnectionProfile#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DatastreamConnectionProfileConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DatastreamConnectionProfileConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamConnectionProfileConfig>- Returns:
- a new instance of
DatastreamConnectionProfileConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-