Class DatastreamConnectionProfileForwardSshConnectivity.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastream_connection_profile.DatastreamConnectionProfileForwardSshConnectivity.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastreamConnectionProfileForwardSshConnectivity>
- Enclosing interface:
- DatastreamConnectionProfileForwardSshConnectivity
@Stability(Stable) public static final class DatastreamConnectionProfileForwardSshConnectivity.Builder extends Object implements software.amazon.jsii.Builder<DatastreamConnectionProfileForwardSshConnectivity>
A builder forDatastreamConnectionProfileForwardSshConnectivity
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
hostname
@Stability(Stable) public DatastreamConnectionProfileForwardSshConnectivity.Builder hostname(String hostname)
Sets the value ofDatastreamConnectionProfileForwardSshConnectivity.getHostname()- Parameters:
hostname- Hostname for the SSH tunnel. 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
-
username
@Stability(Stable) public DatastreamConnectionProfileForwardSshConnectivity.Builder username(String username)
Sets the value ofDatastreamConnectionProfileForwardSshConnectivity.getUsername()- Parameters:
username- Username for the SSH tunnel. 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
-
password
@Stability(Stable) public DatastreamConnectionProfileForwardSshConnectivity.Builder password(String password)
Sets the value ofDatastreamConnectionProfileForwardSshConnectivity.getPassword()- Parameters:
password- SSH password. 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
-
port
@Stability(Stable) public DatastreamConnectionProfileForwardSshConnectivity.Builder port(Number port)
Sets the value ofDatastreamConnectionProfileForwardSshConnectivity.getPort()- Parameters:
port- Port for the SSH tunnel. 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
-
privateKey
@Stability(Stable) public DatastreamConnectionProfileForwardSshConnectivity.Builder privateKey(String privateKey)
Sets the value ofDatastreamConnectionProfileForwardSshConnectivity.getPrivateKey()- Parameters:
privateKey- SSH private key. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastream_connection_profile#private_key DatastreamConnectionProfile#private_key}- Returns:
this
-
build
@Stability(Stable) public DatastreamConnectionProfileForwardSshConnectivity build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastreamConnectionProfileForwardSshConnectivity>- Returns:
- a new instance of
DatastreamConnectionProfileForwardSshConnectivity - Throws:
NullPointerException- if any required attribute was not provided
-
-