Class IntegrationConnectorsConnectionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integration_connectors_connection.IntegrationConnectorsConnectionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationConnectorsConnectionConfig>
- Enclosing interface:
- IntegrationConnectorsConnectionConfig
@Stability(Stable) public static final class IntegrationConnectorsConnectionConfig.Builder extends Object implements software.amazon.jsii.Builder<IntegrationConnectorsConnectionConfig>
A builder forIntegrationConnectorsConnectionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
connectorVersion
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder connectorVersion(String connectorVersion)
Sets the value ofIntegrationConnectorsConnectionConfig.getConnectorVersion()- Parameters:
connectorVersion- connectorVersion of the Connector. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#connector_version IntegrationConnectorsConnection#connector_version}- Returns:
this
-
location
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder location(String location)
Sets the value ofIntegrationConnectorsConnectionConfig.getLocation()- Parameters:
location- Location in which Connection needs to be created. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#location IntegrationConnectorsConnection#location}- Returns:
this
-
name
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder name(String name)
Sets the value ofIntegrationConnectorsConnectionConfig.getName()- Parameters:
name- Name of Connection needs to be created. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#name IntegrationConnectorsConnection#name}- Returns:
this
-
authConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder authConfig(IntegrationConnectorsConnectionAuthConfig authConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getAuthConfig()- Parameters:
authConfig- auth_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#auth_config IntegrationConnectorsConnection#auth_config}- Returns:
this
-
configVariable
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder configVariable(com.hashicorp.cdktf.IResolvable configVariable)
Sets the value ofIntegrationConnectorsConnectionConfig.getConfigVariable()- Parameters:
configVariable- config_variable block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#config_variable IntegrationConnectorsConnection#config_variable}- Returns:
this
-
configVariable
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder configVariable(List<? extends IntegrationConnectorsConnectionConfigVariable> configVariable)
Sets the value ofIntegrationConnectorsConnectionConfig.getConfigVariable()- Parameters:
configVariable- config_variable block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#config_variable IntegrationConnectorsConnection#config_variable}- Returns:
this
-
description
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder description(String description)
Sets the value ofIntegrationConnectorsConnectionConfig.getDescription()- Parameters:
description- An arbitrary description for the Conection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#description IntegrationConnectorsConnection#description}- Returns:
this
-
destinationConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder destinationConfig(com.hashicorp.cdktf.IResolvable destinationConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getDestinationConfig()- Parameters:
destinationConfig- destination_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#destination_config IntegrationConnectorsConnection#destination_config}- Returns:
this
-
destinationConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder destinationConfig(List<? extends IntegrationConnectorsConnectionDestinationConfig> destinationConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getDestinationConfig()- Parameters:
destinationConfig- destination_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#destination_config IntegrationConnectorsConnection#destination_config}- Returns:
this
-
eventingConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder eventingConfig(IntegrationConnectorsConnectionEventingConfig eventingConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getEventingConfig()- Parameters:
eventingConfig- eventing_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#eventing_config IntegrationConnectorsConnection#eventing_config}- Returns:
this
-
eventingEnablementType
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder eventingEnablementType(String eventingEnablementType)
Sets the value ofIntegrationConnectorsConnectionConfig.getEventingEnablementType()- Parameters:
eventingEnablementType- Eventing enablement type. Will be nil if eventing is not enabled. Possible values: ["EVENTING_AND_CONNECTION", "ONLY_EVENTING"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#eventing_enablement_type IntegrationConnectorsConnection#eventing_enablement_type}- Returns:
this
-
id
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder id(String id)
Sets the value ofIntegrationConnectorsConnectionConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#id IntegrationConnectorsConnection#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 IntegrationConnectorsConnectionConfig.Builder labels(Map<String,String> labels)
Sets the value ofIntegrationConnectorsConnectionConfig.getLabels()- Parameters:
labels- Resource labels to represent user provided metadata. **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/integration_connectors_connection#labels IntegrationConnectorsConnection#labels}- Returns:
this
-
lockConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder lockConfig(IntegrationConnectorsConnectionLockConfig lockConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getLockConfig()- Parameters:
lockConfig- lock_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#lock_config IntegrationConnectorsConnection#lock_config}- Returns:
this
-
logConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder logConfig(IntegrationConnectorsConnectionLogConfig logConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getLogConfig()- Parameters:
logConfig- log_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#log_config IntegrationConnectorsConnection#log_config}- Returns:
this
-
nodeConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder nodeConfig(IntegrationConnectorsConnectionNodeConfig nodeConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getNodeConfig()- Parameters:
nodeConfig- node_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#node_config IntegrationConnectorsConnection#node_config}- Returns:
this
-
project
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder project(String project)
Sets the value ofIntegrationConnectorsConnectionConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#project IntegrationConnectorsConnection#project}.- Returns:
this
-
serviceAccount
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder serviceAccount(String serviceAccount)
Sets the value ofIntegrationConnectorsConnectionConfig.getServiceAccount()- Parameters:
serviceAccount- Service account needed for runtime plane to access Google Cloud resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#service_account IntegrationConnectorsConnection#service_account}- Returns:
this
-
sslConfig
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder sslConfig(IntegrationConnectorsConnectionSslConfig sslConfig)
Sets the value ofIntegrationConnectorsConnectionConfig.getSslConfig()- Parameters:
sslConfig- ssl_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#ssl_config IntegrationConnectorsConnection#ssl_config}- Returns:
this
-
suspended
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder suspended(Boolean suspended)
Sets the value ofIntegrationConnectorsConnectionConfig.getSuspended()- Parameters:
suspended- Suspended indicates if a user has suspended a connection or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#suspended IntegrationConnectorsConnection#suspended}- Returns:
this
-
suspended
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder suspended(com.hashicorp.cdktf.IResolvable suspended)
Sets the value ofIntegrationConnectorsConnectionConfig.getSuspended()- Parameters:
suspended- Suspended indicates if a user has suspended a connection or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#suspended IntegrationConnectorsConnection#suspended}- Returns:
this
-
timeouts
@Stability(Stable) public IntegrationConnectorsConnectionConfig.Builder timeouts(IntegrationConnectorsConnectionTimeouts timeouts)
Sets the value ofIntegrationConnectorsConnectionConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#timeouts IntegrationConnectorsConnection#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.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 IntegrationConnectorsConnectionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public IntegrationConnectorsConnectionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationConnectorsConnectionConfig>- Returns:
- a new instance of
IntegrationConnectorsConnectionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-