@Stability(value=Experimental) public static final class GitHubEnterpriseSourceProps.Builder extends Object implements software.amazon.jsii.Builder<GitHubEnterpriseSourceProps>
GitHubEnterpriseSourceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public GitHubEnterpriseSourceProps.Builder httpsCloneUrl(String httpsCloneUrl)
GitHubEnterpriseSourceProps.getHttpsCloneUrl()httpsCloneUrl - The HTTPS URL of the repository in your GitHub Enterprise installation. This parameter is required.this@Stability(value=Experimental) public GitHubEnterpriseSourceProps.Builder branchOrRef(String branchOrRef)
GitHubEnterpriseSourceProps.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 GitHubEnterpriseSourceProps.Builder cloneDepth(Number cloneDepth)
GitHubEnterpriseSourceProps.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 GitHubEnterpriseSourceProps.Builder fetchSubmodules(Boolean fetchSubmodules)
GitHubEnterpriseSourceProps.getFetchSubmodules()fetchSubmodules - Whether to fetch submodules while cloning git repo.this@Stability(value=Experimental) public GitHubEnterpriseSourceProps.Builder ignoreSslErrors(Boolean ignoreSslErrors)
GitHubEnterpriseSourceProps.getIgnoreSslErrors()ignoreSslErrors - Whether to ignore SSL errors when connecting to the repository.this@Stability(value=Experimental) public GitHubEnterpriseSourceProps.Builder reportBuildStatus(Boolean reportBuildStatus)
GitHubEnterpriseSourceProps.getReportBuildStatus()reportBuildStatus - Whether to send notifications on your build's start and end.this@Stability(value=Experimental) public GitHubEnterpriseSourceProps.Builder webhook(Boolean webhook)
GitHubEnterpriseSourceProps.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 GitHubEnterpriseSourceProps.Builder webhookFilters(List<? extends FilterGroup> webhookFilters)
GitHubEnterpriseSourceProps.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 GitHubEnterpriseSourceProps.Builder webhookTriggersBatchBuild(Boolean webhookTriggersBatchBuild)
GitHubEnterpriseSourceProps.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 GitHubEnterpriseSourceProps.Builder identifier(String identifier)
SourceProps.getIdentifier()identifier - The source identifier.
This property is required on secondary sources.this@Stability(value=Experimental) public GitHubEnterpriseSourceProps build()
build in interface software.amazon.jsii.Builder<GitHubEnterpriseSourceProps>GitHubEnterpriseSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.