Package com.pulumi.gcp.cloudbuild.inputs
Class TriggerGithubPullRequestArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.cloudbuild.inputs.TriggerGithubPullRequestArgs.Builder
-
- Enclosing class:
- TriggerGithubPullRequestArgs
public static final class TriggerGithubPullRequestArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(TriggerGithubPullRequestArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerGithubPullRequestArgs.Builder
branch(com.pulumi.core.Output<java.lang.String> branch)
TriggerGithubPullRequestArgs.Builder
branch(java.lang.String branch)
TriggerGithubPullRequestArgs
build()
TriggerGithubPullRequestArgs.Builder
commentControl(com.pulumi.core.Output<java.lang.String> commentControl)
TriggerGithubPullRequestArgs.Builder
commentControl(java.lang.String commentControl)
TriggerGithubPullRequestArgs.Builder
invertRegex(com.pulumi.core.Output<java.lang.Boolean> invertRegex)
TriggerGithubPullRequestArgs.Builder
invertRegex(java.lang.Boolean invertRegex)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TriggerGithubPullRequestArgs defaults)
-
-
Method Detail
-
branch
public TriggerGithubPullRequestArgs.Builder branch(com.pulumi.core.Output<java.lang.String> branch)
- Parameters:
branch
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax- Returns:
- builder
-
branch
public TriggerGithubPullRequestArgs.Builder branch(java.lang.String branch)
- Parameters:
branch
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax- Returns:
- builder
-
commentControl
public TriggerGithubPullRequestArgs.Builder commentControl(@Nullable com.pulumi.core.Output<java.lang.String> commentControl)
- Parameters:
commentControl
- Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.- Returns:
- builder
-
commentControl
public TriggerGithubPullRequestArgs.Builder commentControl(java.lang.String commentControl)
- Parameters:
commentControl
- Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values are: `COMMENTS_DISABLED`, `COMMENTS_ENABLED`, `COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY`.- Returns:
- builder
-
invertRegex
public TriggerGithubPullRequestArgs.Builder invertRegex(@Nullable com.pulumi.core.Output<java.lang.Boolean> invertRegex)
- Parameters:
invertRegex
- If true, branches that do NOT match the git_ref will trigger a build.- Returns:
- builder
-
invertRegex
public TriggerGithubPullRequestArgs.Builder invertRegex(java.lang.Boolean invertRegex)
- Parameters:
invertRegex
- If true, branches that do NOT match the git_ref will trigger a build.- Returns:
- builder
-
build
public TriggerGithubPullRequestArgs build()
-
-