Class ProjectSourceArgs.Builder

  • Enclosing class:
    ProjectSourceArgs

    public static final class ProjectSourceArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • auth

        public ProjectSourceArgs.Builder auth​(@Nullable
                                              com.pulumi.core.Output<ProjectSourceAuthArgs> auth)
        Parameters:
        auth - Information about the strategy CodeBuild should use when authenticating with the source code host. Detailed below.
        Returns:
        builder
      • buildStatusConfig

        public ProjectSourceArgs.Builder buildStatusConfig​(@Nullable
                                                           com.pulumi.core.Output<ProjectSourceBuildStatusConfigArgs> buildStatusConfig)
        Parameters:
        buildStatusConfig - Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.
        Returns:
        builder
      • buildStatusConfig

        public ProjectSourceArgs.Builder buildStatusConfig​(ProjectSourceBuildStatusConfigArgs buildStatusConfig)
        Parameters:
        buildStatusConfig - Configuration block that contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. `buildStatusConfig` blocks are documented below.
        Returns:
        builder
      • buildspec

        public ProjectSourceArgs.Builder buildspec​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> buildspec)
        Parameters:
        buildspec - Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. Also, if a non-default buildspec file name or file path aside from the root is used, it must be specified.
        Returns:
        builder
      • buildspec

        public ProjectSourceArgs.Builder buildspec​(java.lang.String buildspec)
        Parameters:
        buildspec - Build specification to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. Also, if a non-default buildspec file name or file path aside from the root is used, it must be specified.
        Returns:
        builder
      • gitCloneDepth

        public ProjectSourceArgs.Builder gitCloneDepth​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> gitCloneDepth)
        Parameters:
        gitCloneDepth - Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
        Returns:
        builder
      • gitCloneDepth

        public ProjectSourceArgs.Builder gitCloneDepth​(java.lang.Integer gitCloneDepth)
        Parameters:
        gitCloneDepth - Truncate git history to this many commits. Use `0` for a `Full` checkout which you need to run commands like `git branch --show-current`. See [AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
        Returns:
        builder
      • insecureSsl

        public ProjectSourceArgs.Builder insecureSsl​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> insecureSsl)
        Parameters:
        insecureSsl - Ignore SSL warnings when connecting to source control.
        Returns:
        builder
      • insecureSsl

        public ProjectSourceArgs.Builder insecureSsl​(java.lang.Boolean insecureSsl)
        Parameters:
        insecureSsl - Ignore SSL warnings when connecting to source control.
        Returns:
        builder
      • location

        public ProjectSourceArgs.Builder location​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - Location of the source code from git or s3.
        Returns:
        builder
      • location

        public ProjectSourceArgs.Builder location​(java.lang.String location)
        Parameters:
        location - Location of the source code from git or s3.
        Returns:
        builder
      • reportBuildStatus

        public ProjectSourceArgs.Builder reportBuildStatus​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> reportBuildStatus)
        Parameters:
        reportBuildStatus - Whether to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.
        Returns:
        builder
      • reportBuildStatus

        public ProjectSourceArgs.Builder reportBuildStatus​(java.lang.Boolean reportBuildStatus)
        Parameters:
        reportBuildStatus - Whether to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket.
        Returns:
        builder
      • type

        public ProjectSourceArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of repository that contains the source code to be built. Valid values: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.
        Returns:
        builder
      • type

        public ProjectSourceArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Type of repository that contains the source code to be built. Valid values: `BITBUCKET`, `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `GITLAB`, `GITLAB_SELF_MANAGED`, `NO_SOURCE`, `S3`.
        Returns:
        builder