@Stability(value=Experimental) public static final class BitBucketSourceProps.Builder extends Object implements software.amazon.jsii.Builder<BitBucketSourceProps>
BitBucketSourceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public BitBucketSourceProps.Builder owner(String owner)
BitBucketSourceProps.getOwner()owner - The BitBucket account/user that owns the repo. This parameter is required.this@Stability(value=Experimental) public BitBucketSourceProps.Builder repo(String repo)
BitBucketSourceProps.getRepo()repo - The name of the repo (without the username). This parameter is required.this@Stability(value=Experimental) public BitBucketSourceProps.Builder branchOrRef(String branchOrRef)
BitBucketSourceProps.getBranchOrRef()branchOrRef - The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.this@Stability(value=Experimental) public BitBucketSourceProps.Builder cloneDepth(Number cloneDepth)
BitBucketSourceProps.getCloneDepth()cloneDepth - The depth of history to download.
Minimum value is 0.
If this value is 0, greater than 25, or not provided,
then the full history is downloaded with each build of the project.this@Stability(value=Experimental) public BitBucketSourceProps.Builder fetchSubmodules(Boolean fetchSubmodules)
BitBucketSourceProps.getFetchSubmodules()fetchSubmodules - Whether to fetch submodules while cloning git repo.this@Stability(value=Experimental) public BitBucketSourceProps.Builder reportBuildStatus(Boolean reportBuildStatus)
BitBucketSourceProps.getReportBuildStatus()reportBuildStatus - Whether to send notifications on your build's start and end.this@Stability(value=Experimental) public BitBucketSourceProps.Builder webhook(Boolean webhook)
BitBucketSourceProps.getWebhook()webhook - Whether to create a webhook that will trigger a build every time an event happens in the repository.this@Stability(value=Experimental) public BitBucketSourceProps.Builder webhookFilters(List<? extends FilterGroup> webhookFilters)
BitBucketSourceProps.getWebhookFilters()webhookFilters - A list of webhook filters that can constraint what events in the repository will trigger a build.
A build is triggered if any of the provided filter groups match.
Only valid if webhook was not provided as false.this@Stability(value=Experimental) public BitBucketSourceProps.Builder webhookTriggersBatchBuild(Boolean webhookTriggersBatchBuild)
BitBucketSourceProps.getWebhookTriggersBatchBuild()webhookTriggersBatchBuild - Trigger a batch build from a webhook instead of a standard one.
Enabling this will enable batch builds on the CodeBuild project.this@Stability(value=Experimental) public BitBucketSourceProps.Builder identifier(String identifier)
SourceProps.getIdentifier()identifier - The source identifier.
This property is required on secondary sources.this@Stability(value=Experimental) public BitBucketSourceProps build()
build in interface software.amazon.jsii.Builder<BitBucketSourceProps>BitBucketSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.