Package com.pulumi.aws.codebuild.inputs
Class ProjectSecondarySourceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codebuild.inputs.ProjectSecondarySourceArgs.Builder
-
- Enclosing class:
- ProjectSecondarySourceArgs
public static final class ProjectSecondarySourceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ProjectSecondarySourceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProjectSecondarySourceArgs defaults)
-
-
Method Detail
-
auth
@Deprecated public ProjectSecondarySourceArgs.Builder auth(@Nullable com.pulumi.core.Output<ProjectSecondarySourceAuthArgs> auth)
Deprecated.Use the aws_codebuild_source_credential resource instead- Parameters:
auth
- Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `aws.codebuild.SourceCredential` resource instead. Auth blocks are documented below.- Returns:
- builder
-
auth
@Deprecated public ProjectSecondarySourceArgs.Builder auth(ProjectSecondarySourceAuthArgs auth)
Deprecated.Use the aws_codebuild_source_credential resource instead- Parameters:
auth
- Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the `aws.codebuild.SourceCredential` resource instead. Auth blocks are documented below.- Returns:
- builder
-
buildStatusConfig
public ProjectSecondarySourceArgs.Builder buildStatusConfig(@Nullable com.pulumi.core.Output<ProjectSecondarySourceBuildStatusConfigArgs> buildStatusConfig)
- Parameters:
buildStatusConfig
- 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`, or `BITBUCKET`.- Returns:
- builder
-
buildStatusConfig
public ProjectSecondarySourceArgs.Builder buildStatusConfig(ProjectSecondarySourceBuildStatusConfigArgs buildStatusConfig)
- Parameters:
buildStatusConfig
- 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`, or `BITBUCKET`.- Returns:
- builder
-
buildspec
public ProjectSecondarySourceArgs.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`.- Returns:
- builder
-
buildspec
public ProjectSecondarySourceArgs.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`.- 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
-
gitSubmodulesConfig
public ProjectSecondarySourceArgs.Builder gitSubmodulesConfig(@Nullable com.pulumi.core.Output<ProjectSecondarySourceGitSubmodulesConfigArgs> gitSubmodulesConfig)
- Parameters:
gitSubmodulesConfig
- Configuration block. Detailed below.- Returns:
- builder
-
gitSubmodulesConfig
public ProjectSecondarySourceArgs.Builder gitSubmodulesConfig(ProjectSecondarySourceGitSubmodulesConfigArgs gitSubmodulesConfig)
- Parameters:
gitSubmodulesConfig
- Configuration block. Detailed below.- 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 only valid when the `type` is `BITBUCKET` or `GITHUB`.- 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 only valid when the `type` is `BITBUCKET` or `GITHUB`.- Returns:
- builder
-
sourceIdentifier
public ProjectSecondarySourceArgs.Builder sourceIdentifier(com.pulumi.core.Output<java.lang.String> sourceIdentifier)
- Parameters:
sourceIdentifier
- An identifier for a source in the build project.- Returns:
- builder
-
sourceIdentifier
public ProjectSecondarySourceArgs.Builder sourceIdentifier(java.lang.String sourceIdentifier)
- Parameters:
sourceIdentifier
- An identifier for a source in the build project.- 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: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.- 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: `CODECOMMIT`, `CODEPIPELINE`, `GITHUB`, `GITHUB_ENTERPRISE`, `BITBUCKET`, `S3`, `NO_SOURCE`.- Returns:
- builder
-
build
public ProjectSecondarySourceArgs build()
-
-