Class Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudbuildv2_connection.Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudbuildv2ConnectionGithubEnterpriseConfig>
- Enclosing interface:
- Cloudbuildv2ConnectionGithubEnterpriseConfig
@Stability(Stable) public static final class Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder extends Object implements software.amazon.jsii.Builder<Cloudbuildv2ConnectionGithubEnterpriseConfig>
A builder forCloudbuildv2ConnectionGithubEnterpriseConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
hostUri
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder hostUri(String hostUri)
Sets the value ofCloudbuildv2ConnectionGithubEnterpriseConfig.getHostUri()- Parameters:
hostUri- Required. The URI of the GitHub Enterprise 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
-
appId
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder appId(Number appId)
Sets the value ofCloudbuildv2ConnectionGithubEnterpriseConfig.getAppId()- Parameters:
appId- Id of the GitHub App created from the manifest. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#app_id Cloudbuildv2Connection#app_id}- Returns:
this
-
appInstallationId
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder appInstallationId(Number appInstallationId)
Sets the value ofCloudbuildv2ConnectionGithubEnterpriseConfig.getAppInstallationId()- Parameters:
appInstallationId- ID of the installation of the GitHub App. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#app_installation_id Cloudbuildv2Connection#app_installation_id}- Returns:
this
-
appSlug
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder appSlug(String appSlug)
Sets the value ofCloudbuildv2ConnectionGithubEnterpriseConfig.getAppSlug()- Parameters:
appSlug- The URL-friendly name of the GitHub App. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#app_slug Cloudbuildv2Connection#app_slug}- Returns:
this
-
privateKeySecretVersion
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder privateKeySecretVersion(String privateKeySecretVersion)
- Parameters:
privateKeySecretVersion- SecretManager resource containing the private key of the GitHub App, formatted as 'projects/* /secrets/* /versions/*'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#private_key_secret_version Cloudbuildv2Connection#private_key_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 Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder serviceDirectoryConfig(Cloudbuildv2ConnectionGithubEnterpriseConfigServiceDirectoryConfig serviceDirectoryConfig)
Sets the value ofCloudbuildv2ConnectionGithubEnterpriseConfig.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 Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder sslCa(String sslCa)
Sets the value ofCloudbuildv2ConnectionGithubEnterpriseConfig.getSslCa()- Parameters:
sslCa- SSL certificate to use for requests to GitHub 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
-
webhookSecretSecretVersion
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig.Builder webhookSecretSecretVersion(String webhookSecretSecretVersion)
- Parameters:
webhookSecretSecretVersion- SecretManager resource containing the webhook secret of the GitHub App, formatted as 'projects/* /secrets/* /versions/*'. 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
-
build
@Stability(Stable) public Cloudbuildv2ConnectionGithubEnterpriseConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudbuildv2ConnectionGithubEnterpriseConfig>- Returns:
- a new instance of
Cloudbuildv2ConnectionGithubEnterpriseConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-