Package com.pulumi.gcp.cloudbuild.inputs
Class TriggerGitFileSourceArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudbuild.inputs.TriggerGitFileSourceArgs.Builder
-
- Enclosing class:
- TriggerGitFileSourceArgs
public static final class TriggerGitFileSourceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(TriggerGitFileSourceArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerGitFileSourceArgs.Builder
bitbucketServerConfig(com.pulumi.core.Output<java.lang.String> bitbucketServerConfig)
TriggerGitFileSourceArgs.Builder
bitbucketServerConfig(java.lang.String bitbucketServerConfig)
TriggerGitFileSourceArgs
build()
TriggerGitFileSourceArgs.Builder
githubEnterpriseConfig(com.pulumi.core.Output<java.lang.String> githubEnterpriseConfig)
TriggerGitFileSourceArgs.Builder
githubEnterpriseConfig(java.lang.String githubEnterpriseConfig)
TriggerGitFileSourceArgs.Builder
path(com.pulumi.core.Output<java.lang.String> path)
TriggerGitFileSourceArgs.Builder
path(java.lang.String path)
TriggerGitFileSourceArgs.Builder
repository(com.pulumi.core.Output<java.lang.String> repository)
TriggerGitFileSourceArgs.Builder
repository(java.lang.String repository)
TriggerGitFileSourceArgs.Builder
repoType(com.pulumi.core.Output<java.lang.String> repoType)
TriggerGitFileSourceArgs.Builder
repoType(java.lang.String repoType)
TriggerGitFileSourceArgs.Builder
revision(com.pulumi.core.Output<java.lang.String> revision)
TriggerGitFileSourceArgs.Builder
revision(java.lang.String revision)
TriggerGitFileSourceArgs.Builder
uri(com.pulumi.core.Output<java.lang.String> uri)
TriggerGitFileSourceArgs.Builder
uri(java.lang.String uri)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TriggerGitFileSourceArgs defaults)
-
-
Method Detail
-
bitbucketServerConfig
public TriggerGitFileSourceArgs.Builder bitbucketServerConfig(@Nullable com.pulumi.core.Output<java.lang.String> bitbucketServerConfig)
- Parameters:
bitbucketServerConfig
- The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.- Returns:
- builder
-
bitbucketServerConfig
public TriggerGitFileSourceArgs.Builder bitbucketServerConfig(java.lang.String bitbucketServerConfig)
- Parameters:
bitbucketServerConfig
- The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.- Returns:
- builder
-
githubEnterpriseConfig
public TriggerGitFileSourceArgs.Builder githubEnterpriseConfig(@Nullable com.pulumi.core.Output<java.lang.String> githubEnterpriseConfig)
- Parameters:
githubEnterpriseConfig
- The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.- Returns:
- builder
-
githubEnterpriseConfig
public TriggerGitFileSourceArgs.Builder githubEnterpriseConfig(java.lang.String githubEnterpriseConfig)
- Parameters:
githubEnterpriseConfig
- The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.- Returns:
- builder
-
path
public TriggerGitFileSourceArgs.Builder path(com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path
- The path of the file, with the repo root as the root of the path.- Returns:
- builder
-
path
public TriggerGitFileSourceArgs.Builder path(java.lang.String path)
- Parameters:
path
- The path of the file, with the repo root as the root of the path.- Returns:
- builder
-
repoType
public TriggerGitFileSourceArgs.Builder repoType(com.pulumi.core.Output<java.lang.String> repoType)
- Parameters:
repoType
- The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.- Returns:
- builder
-
repoType
public TriggerGitFileSourceArgs.Builder repoType(java.lang.String repoType)
- Parameters:
repoType
- The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values are: `UNKNOWN`, `CLOUD_SOURCE_REPOSITORIES`, `GITHUB`, `BITBUCKET_SERVER`.- Returns:
- builder
-
repository
public TriggerGitFileSourceArgs.Builder repository(@Nullable com.pulumi.core.Output<java.lang.String> repository)
- Parameters:
repository
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.- Returns:
- builder
-
repository
public TriggerGitFileSourceArgs.Builder repository(java.lang.String repository)
- Parameters:
repository
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.- Returns:
- builder
-
revision
public TriggerGitFileSourceArgs.Builder revision(@Nullable com.pulumi.core.Output<java.lang.String> revision)
- Parameters:
revision
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.- Returns:
- builder
-
revision
public TriggerGitFileSourceArgs.Builder revision(java.lang.String revision)
- Parameters:
revision
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.- Returns:
- builder
-
uri
public TriggerGitFileSourceArgs.Builder uri(@Nullable com.pulumi.core.Output<java.lang.String> uri)
- Parameters:
uri
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.- Returns:
- builder
-
uri
public TriggerGitFileSourceArgs.Builder uri(java.lang.String uri)
- Parameters:
uri
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.- Returns:
- builder
-
build
public TriggerGitFileSourceArgs build()
-
-