Class DatastreamConnectionProfileSqlServerProfile.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_connection_profile.DatastreamConnectionProfileSqlServerProfile.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamConnectionProfileSqlServerProfile>
- Enclosing interface:
- DatastreamConnectionProfileSqlServerProfile
@Stability(Stable) public static final class DatastreamConnectionProfileSqlServerProfile.Builder extends Object implements software.amazon.jsii.Builder<DatastreamConnectionProfileSqlServerProfile>
A builder forDatastreamConnectionProfileSqlServerProfile
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastreamConnectionProfileSqlServerProfilebuild()Builds the configured instance.DatastreamConnectionProfileSqlServerProfile.Builderdatabase(String database)Sets the value ofDatastreamConnectionProfileSqlServerProfile.getDatabase()DatastreamConnectionProfileSqlServerProfile.Builderhostname(String hostname)Sets the value ofDatastreamConnectionProfileSqlServerProfile.getHostname()DatastreamConnectionProfileSqlServerProfile.Builderpassword(String password)Sets the value ofDatastreamConnectionProfileSqlServerProfile.getPassword()DatastreamConnectionProfileSqlServerProfile.Builderport(Number port)Sets the value ofDatastreamConnectionProfileSqlServerProfile.getPort()DatastreamConnectionProfileSqlServerProfile.Builderusername(String username)Sets the value ofDatastreamConnectionProfileSqlServerProfile.getUsername()
-
-
-
Method Detail
-
database
@Stability(Stable) public DatastreamConnectionProfileSqlServerProfile.Builder database(String database)
Sets the value ofDatastreamConnectionProfileSqlServerProfile.getDatabase()- Parameters:
database- Database for the SQL Server 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 DatastreamConnectionProfile#database}- Returns:
this
-
hostname
@Stability(Stable) public DatastreamConnectionProfileSqlServerProfile.Builder hostname(String hostname)
Sets the value ofDatastreamConnectionProfileSqlServerProfile.getHostname()- Parameters:
hostname- Hostname for the SQL Server 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 DatastreamConnectionProfileSqlServerProfile.Builder password(String password)
Sets the value ofDatastreamConnectionProfileSqlServerProfile.getPassword()- Parameters:
password- Password for the SQL Server 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 DatastreamConnectionProfileSqlServerProfile.Builder username(String username)
Sets the value ofDatastreamConnectionProfileSqlServerProfile.getUsername()- Parameters:
username- Username for the SQL Server 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
-
port
@Stability(Stable) public DatastreamConnectionProfileSqlServerProfile.Builder port(Number port)
Sets the value ofDatastreamConnectionProfileSqlServerProfile.getPort()- Parameters:
port- Port for the SQL Server 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 DatastreamConnectionProfileSqlServerProfile build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamConnectionProfileSqlServerProfile>- Returns:
- a new instance of
DatastreamConnectionProfileSqlServerProfile - Throws:
NullPointerException- if any required attribute was not provided
-
-