Class DatastreamConnectionProfileOracleProfile.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_connection_profile.DatastreamConnectionProfileOracleProfile.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamConnectionProfileOracleProfile>
- Enclosing interface:
- DatastreamConnectionProfileOracleProfile
@Stability(Stable) public static final class DatastreamConnectionProfileOracleProfile.Builder extends Object implements software.amazon.jsii.Builder<DatastreamConnectionProfileOracleProfile>
A builder forDatastreamConnectionProfileOracleProfile
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
databaseService
@Stability(Stable) public DatastreamConnectionProfileOracleProfile.Builder databaseService(String databaseService)
Sets the value ofDatastreamConnectionProfileOracleProfile.getDatabaseService()- Parameters:
databaseService- Database for the Oracle connection. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#database_service DatastreamConnectionProfile#database_service}- Returns:
this
-
hostname
@Stability(Stable) public DatastreamConnectionProfileOracleProfile.Builder hostname(String hostname)
Sets the value ofDatastreamConnectionProfileOracleProfile.getHostname()- Parameters:
hostname- Hostname for the Oracle connection. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#hostname DatastreamConnectionProfile#hostname}- Returns:
this
-
password
@Stability(Stable) public DatastreamConnectionProfileOracleProfile.Builder password(String password)
Sets the value ofDatastreamConnectionProfileOracleProfile.getPassword()- Parameters:
password- Password for the Oracle connection. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#password DatastreamConnectionProfile#password}- Returns:
this
-
username
@Stability(Stable) public DatastreamConnectionProfileOracleProfile.Builder username(String username)
Sets the value ofDatastreamConnectionProfileOracleProfile.getUsername()- Parameters:
username- Username for the Oracle connection. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#username DatastreamConnectionProfile#username}- Returns:
this
-
connectionAttributes
@Stability(Stable) public DatastreamConnectionProfileOracleProfile.Builder connectionAttributes(Map<String,String> connectionAttributes)
Sets the value ofDatastreamConnectionProfileOracleProfile.getConnectionAttributes()- Parameters:
connectionAttributes- Connection string attributes. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#connection_attributes DatastreamConnectionProfile#connection_attributes}- Returns:
this
-
port
@Stability(Stable) public DatastreamConnectionProfileOracleProfile.Builder port(Number port)
Sets the value ofDatastreamConnectionProfileOracleProfile.getPort()- Parameters:
port- Port for the Oracle connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#port DatastreamConnectionProfile#port}- Returns:
this
-
build
@Stability(Stable) public DatastreamConnectionProfileOracleProfile build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamConnectionProfileOracleProfile>- Returns:
- a new instance of
DatastreamConnectionProfileOracleProfile - Throws:
NullPointerException- if any required attribute was not provided
-
-