Class WebhookPullRequestBuildPolicyArgs.Builder

    • Method Detail

      • approverRoles

        public WebhookPullRequestBuildPolicyArgs.Builder approverRoles​(@Nullable
                                                                       com.pulumi.core.Output<java.util.List<java.lang.String>> approverRoles)
        Parameters:
        approverRoles - List of repository roles that have approval privileges for pull request builds when comment approval is required. This argument must be specified only when `requiresCommentApproval` is not `DISABLED`. See the [AWS documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/pull-request-build-policy.html#pull-request-build-policy.configuration) for valid values and defaults.
        Returns:
        builder
      • approverRoles

        public WebhookPullRequestBuildPolicyArgs.Builder approverRoles​(java.util.List<java.lang.String> approverRoles)
        Parameters:
        approverRoles - List of repository roles that have approval privileges for pull request builds when comment approval is required. This argument must be specified only when `requiresCommentApproval` is not `DISABLED`. See the [AWS documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/pull-request-build-policy.html#pull-request-build-policy.configuration) for valid values and defaults.
        Returns:
        builder
      • approverRoles

        public WebhookPullRequestBuildPolicyArgs.Builder approverRoles​(java.lang.String... approverRoles)
        Parameters:
        approverRoles - List of repository roles that have approval privileges for pull request builds when comment approval is required. This argument must be specified only when `requiresCommentApproval` is not `DISABLED`. See the [AWS documentation](https://docs.aws.amazon.com/codebuild/latest/userguide/pull-request-build-policy.html#pull-request-build-policy.configuration) for valid values and defaults.
        Returns:
        builder
      • requiresCommentApproval

        public WebhookPullRequestBuildPolicyArgs.Builder requiresCommentApproval​(com.pulumi.core.Output<java.lang.String> requiresCommentApproval)
        Parameters:
        requiresCommentApproval - Specifies when comment-based approval is required before triggering a build on pull requests. Valid values are: `DISABLED`, `ALL_PULL_REQUESTS`, and `FORK_PULL_REQUESTS`.
        Returns:
        builder
      • requiresCommentApproval

        public WebhookPullRequestBuildPolicyArgs.Builder requiresCommentApproval​(java.lang.String requiresCommentApproval)
        Parameters:
        requiresCommentApproval - Specifies when comment-based approval is required before triggering a build on pull requests. Valid values are: `DISABLED`, `ALL_PULL_REQUESTS`, and `FORK_PULL_REQUESTS`.
        Returns:
        builder