Class Cloudbuildv2ConnectionGithubConfigAuthorizerCredential.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudbuildv2_connection.Cloudbuildv2ConnectionGithubConfigAuthorizerCredential.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudbuildv2ConnectionGithubConfigAuthorizerCredential>
- Enclosing interface:
- Cloudbuildv2ConnectionGithubConfigAuthorizerCredential
@Stability(Stable) public static final class Cloudbuildv2ConnectionGithubConfigAuthorizerCredential.Builder extends Object implements software.amazon.jsii.Builder<Cloudbuildv2ConnectionGithubConfigAuthorizerCredential>
A builder forCloudbuildv2ConnectionGithubConfigAuthorizerCredential
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cloudbuildv2ConnectionGithubConfigAuthorizerCredentialbuild()Builds the configured instance.Cloudbuildv2ConnectionGithubConfigAuthorizerCredential.BuilderoauthTokenSecretVersion(String oauthTokenSecretVersion)
-
-
-
Method Detail
-
oauthTokenSecretVersion
@Stability(Stable) public Cloudbuildv2ConnectionGithubConfigAuthorizerCredential.Builder oauthTokenSecretVersion(String oauthTokenSecretVersion)
Sets the value ofCloudbuildv2ConnectionGithubConfigAuthorizerCredential.getOauthTokenSecretVersion()- Parameters:
oauthTokenSecretVersion- A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: 'projects/* /secrets/* /versions/*'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuildv2_connection#oauth_token_secret_version Cloudbuildv2Connection#oauth_token_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 Cloudbuildv2ConnectionGithubConfigAuthorizerCredential build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudbuildv2ConnectionGithubConfigAuthorizerCredential>- Returns:
- a new instance of
Cloudbuildv2ConnectionGithubConfigAuthorizerCredential - Throws:
NullPointerException- if any required attribute was not provided
-
-