Class Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudbuildv2_connection.Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudbuildv2ConnectionBitbucketDataCenterConfig>
- Enclosing interface:
- Cloudbuildv2ConnectionBitbucketDataCenterConfig
@Stability(Stable) public static final class Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder extends Object implements software.amazon.jsii.Builder<Cloudbuildv2ConnectionBitbucketDataCenterConfig>
A builder forCloudbuildv2ConnectionBitbucketDataCenterConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
authorizerCredential
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder authorizerCredential(Cloudbuildv2ConnectionBitbucketDataCenterConfigAuthorizerCredential authorizerCredential)
- Parameters:
authorizerCredential- authorizer_credential block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#authorizer_credential Cloudbuildv2Connection#authorizer_credential}- Returns:
this
-
hostUri
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder hostUri(String hostUri)
Sets the value ofCloudbuildv2ConnectionBitbucketDataCenterConfig.getHostUri()- Parameters:
hostUri- The URI of the Bitbucket Data Center host this connection is for. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#host_uri Cloudbuildv2Connection#host_uri}- Returns:
this
-
readAuthorizerCredential
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder readAuthorizerCredential(Cloudbuildv2ConnectionBitbucketDataCenterConfigReadAuthorizerCredential readAuthorizerCredential)
- Parameters:
readAuthorizerCredential- read_authorizer_credential block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#read_authorizer_credential Cloudbuildv2Connection#read_authorizer_credential}- Returns:
this
-
webhookSecretSecretVersion
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder webhookSecretSecretVersion(String webhookSecretSecretVersion)
- Parameters:
webhookSecretSecretVersion- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as 'projects/* /secrets/* /versions/*'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#webhook_secret_secret_version Cloudbuildv2Connection#webhook_secret_secret_version} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.- Returns:
this
-
serviceDirectoryConfig
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder serviceDirectoryConfig(Cloudbuildv2ConnectionBitbucketDataCenterConfigServiceDirectoryConfig serviceDirectoryConfig)
- Parameters:
serviceDirectoryConfig- service_directory_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#service_directory_config Cloudbuildv2Connection#service_directory_config}- Returns:
this
-
sslCa
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig.Builder sslCa(String sslCa)
Sets the value ofCloudbuildv2ConnectionBitbucketDataCenterConfig.getSslCa()- Parameters:
sslCa- SSL certificate to use for requests to the Bitbucket Data Center. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#ssl_ca Cloudbuildv2Connection#ssl_ca}- Returns:
this
-
build
@Stability(Stable) public Cloudbuildv2ConnectionBitbucketDataCenterConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudbuildv2ConnectionBitbucketDataCenterConfig>- Returns:
- a new instance of
Cloudbuildv2ConnectionBitbucketDataCenterConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-