Class ProjectSecondarySourceArgs.Builder

  • Enclosing class:
    ProjectSecondarySourceArgs

    public static final class ProjectSecondarySourceArgs.Builder
    extends java.lang.Object
    • Method Detail

      • buildStatusConfig

        public ProjectSecondarySourceArgs.Builder buildStatusConfig​(@Nullable
                                                                    com.pulumi.core.Output<ProjectSecondarySourceBuildStatusConfigArgs> 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. `build_status_config` blocks are documented below.
        Returns:
        builder
      • buildStatusConfig

        public ProjectSecondarySourceArgs.Builder buildStatusConfig​(ProjectSecondarySourceBuildStatusConfigArgs 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. `build_status_config` blocks are documented below.
        Returns:
        builder
      • buildspec

        public ProjectSecondarySourceArgs.Builder buildspec​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> buildspec)
        Parameters:
        buildspec - The build spec declaration to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. It can either be a path to a file residing in the repository to be built or a local file path leveraging the `file()` built-in.
        Returns:
        builder
      • buildspec

        public ProjectSecondarySourceArgs.Builder buildspec​(java.lang.String buildspec)
        Parameters:
        buildspec - The build spec declaration to use for this build project's related builds. This must be set when `type` is `NO_SOURCE`. It can either be a path to a file residing in the repository to be built or a local file path leveraging the `file()` built-in.
        Returns:
        builder
      • gitCloneDepth

        public ProjectSecondarySourceArgs.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 ProjectSecondarySourceArgs.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 ProjectSecondarySourceArgs.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 ProjectSecondarySourceArgs.Builder insecureSsl​(java.lang.Boolean insecureSsl)
        Parameters:
        insecureSsl - Ignore SSL warnings when connecting to source control.
        Returns:
        builder
      • location

        public ProjectSecondarySourceArgs.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 ProjectSecondarySourceArgs.Builder location​(java.lang.String location)
        Parameters:
        location - Location of the source code from git or s3.
        Returns:
        builder
      • reportBuildStatus

        public ProjectSecondarySourceArgs.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 ProjectSecondarySourceArgs.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
      • sourceIdentifier

        public ProjectSecondarySourceArgs.Builder sourceIdentifier​(com.pulumi.core.Output<java.lang.String> sourceIdentifier)
        Parameters:
        sourceIdentifier - An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
        Returns:
        builder
      • sourceIdentifier

        public ProjectSecondarySourceArgs.Builder sourceIdentifier​(java.lang.String sourceIdentifier)
        Parameters:
        sourceIdentifier - An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
        Returns:
        builder
      • type

        public ProjectSecondarySourceArgs.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 ProjectSecondarySourceArgs.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