Class Cloudbuildv2ConnectionGitlabConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudbuildv2_connection.Cloudbuildv2ConnectionGitlabConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudbuildv2ConnectionGitlabConfig>
- Enclosing interface:
- Cloudbuildv2ConnectionGitlabConfig
@Stability(Stable) public static final class Cloudbuildv2ConnectionGitlabConfig.Builder extends Object implements software.amazon.jsii.Builder<Cloudbuildv2ConnectionGitlabConfig>
A builder forCloudbuildv2ConnectionGitlabConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
authorizerCredential
@Stability(Stable) public Cloudbuildv2ConnectionGitlabConfig.Builder authorizerCredential(Cloudbuildv2ConnectionGitlabConfigAuthorizerCredential authorizerCredential)
Sets the value ofCloudbuildv2ConnectionGitlabConfig.getAuthorizerCredential()- 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
-
readAuthorizerCredential
@Stability(Stable) public Cloudbuildv2ConnectionGitlabConfig.Builder readAuthorizerCredential(Cloudbuildv2ConnectionGitlabConfigReadAuthorizerCredential readAuthorizerCredential)
Sets the value ofCloudbuildv2ConnectionGitlabConfig.getReadAuthorizerCredential()- 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 Cloudbuildv2ConnectionGitlabConfig.Builder webhookSecretSecretVersion(String webhookSecretSecretVersion)
Sets the value ofCloudbuildv2ConnectionGitlabConfig.getWebhookSecretSecretVersion()- Parameters:
webhookSecretSecretVersion- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, 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
-
hostUri
@Stability(Stable) public Cloudbuildv2ConnectionGitlabConfig.Builder hostUri(String hostUri)
Sets the value ofCloudbuildv2ConnectionGitlabConfig.getHostUri()- Parameters:
hostUri- The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com. 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
-
serviceDirectoryConfig
@Stability(Stable) public Cloudbuildv2ConnectionGitlabConfig.Builder serviceDirectoryConfig(Cloudbuildv2ConnectionGitlabConfigServiceDirectoryConfig serviceDirectoryConfig)
Sets the value ofCloudbuildv2ConnectionGitlabConfig.getServiceDirectoryConfig()- 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 Cloudbuildv2ConnectionGitlabConfig.Builder sslCa(String sslCa)
Sets the value ofCloudbuildv2ConnectionGitlabConfig.getSslCa()- Parameters:
sslCa- SSL certificate to use for requests to GitLab Enterprise. 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 Cloudbuildv2ConnectionGitlabConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudbuildv2ConnectionGitlabConfig>- Returns:
- a new instance of
Cloudbuildv2ConnectionGitlabConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-