Class IntegrationConnectorsConnectionLockConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integration_connectors_connection.IntegrationConnectorsConnectionLockConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationConnectorsConnectionLockConfig>
- Enclosing interface:
- IntegrationConnectorsConnectionLockConfig
@Stability(Stable) public static final class IntegrationConnectorsConnectionLockConfig.Builder extends Object implements software.amazon.jsii.Builder<IntegrationConnectorsConnectionLockConfig>
A builder forIntegrationConnectorsConnectionLockConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationConnectorsConnectionLockConfigbuild()Builds the configured instance.IntegrationConnectorsConnectionLockConfig.Builderlocked(com.hashicorp.cdktf.IResolvable locked)Sets the value ofIntegrationConnectorsConnectionLockConfig.getLocked()IntegrationConnectorsConnectionLockConfig.Builderlocked(Boolean locked)Sets the value ofIntegrationConnectorsConnectionLockConfig.getLocked()IntegrationConnectorsConnectionLockConfig.Builderreason(String reason)Sets the value ofIntegrationConnectorsConnectionLockConfig.getReason()
-
-
-
Method Detail
-
locked
@Stability(Stable) public IntegrationConnectorsConnectionLockConfig.Builder locked(Boolean locked)
Sets the value ofIntegrationConnectorsConnectionLockConfig.getLocked()- Parameters:
locked- Indicates whether or not the connection is locked. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#locked IntegrationConnectorsConnection#locked}- Returns:
this
-
locked
@Stability(Stable) public IntegrationConnectorsConnectionLockConfig.Builder locked(com.hashicorp.cdktf.IResolvable locked)
Sets the value ofIntegrationConnectorsConnectionLockConfig.getLocked()- Parameters:
locked- Indicates whether or not the connection is locked. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#locked IntegrationConnectorsConnection#locked}- Returns:
this
-
reason
@Stability(Stable) public IntegrationConnectorsConnectionLockConfig.Builder reason(String reason)
Sets the value ofIntegrationConnectorsConnectionLockConfig.getReason()- Parameters:
reason- Describes why a connection is locked. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integration_connectors_connection#reason IntegrationConnectorsConnection#reason}- Returns:
this
-
build
@Stability(Stable) public IntegrationConnectorsConnectionLockConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationConnectorsConnectionLockConfig>- Returns:
- a new instance of
IntegrationConnectorsConnectionLockConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-