public static final class GitHubEnterpriseSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubEnterpriseSourceProps
GitHubEnterpriseSourceProps
GitHubEnterpriseSourceProps.Builder, GitHubEnterpriseSourceProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBranchOrRef()
The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
|
java.lang.String |
getBuildStatusContext()
This parameter is used for the `context` parameter in the GitHub commit status.
|
java.lang.String |
getBuildStatusUrl()
The URL that the build will report back to the source provider.
|
java.lang.Number |
getCloneDepth()
The depth of history to download.
|
java.lang.Boolean |
getFetchSubmodules()
Whether to fetch submodules while cloning git repo.
|
java.lang.String |
getHttpsCloneUrl()
The HTTPS URL of the repository in your GitHub Enterprise installation.
|
java.lang.String |
getIdentifier()
The source identifier.
|
java.lang.Boolean |
getIgnoreSslErrors()
Whether to ignore SSL errors when connecting to the repository.
|
java.lang.Boolean |
getReportBuildStatus()
Whether to send notifications on your build's start and end.
|
java.lang.Boolean |
getWebhook()
Whether to create a webhook that will trigger a build every time an event happens in the repository.
|
java.util.List<FilterGroup> |
getWebhookFilters()
A list of webhook filters that can constraint what events in the repository will trigger a build.
|
java.lang.Boolean |
getWebhookTriggersBatchBuild()
Trigger a batch build from a webhook instead of a standard one.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getHttpsCloneUrl()
GitHubEnterpriseSourceProps
getHttpsCloneUrl
in interface GitHubEnterpriseSourceProps
public final java.lang.String getBranchOrRef()
GitHubEnterpriseSourceProps
Default: the default branch's HEAD commit ID is used
Example:
"mybranch";
getBranchOrRef
in interface GitHubEnterpriseSourceProps
public final java.lang.String getBuildStatusContext()
GitHubEnterpriseSourceProps
Can use built-in CodeBuild variables, like $AWS_REGION.
Default: "AWS CodeBuild $AWS_REGION ($PROJECT_NAME)"
Example:
"My build #$CODEBUILD_BUILD_NUMBER";
getBuildStatusContext
in interface GitHubEnterpriseSourceProps
https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
public final java.lang.String getBuildStatusUrl()
GitHubEnterpriseSourceProps
Can use built-in CodeBuild variables, like $AWS_REGION.
Default: - link to the AWS Console for CodeBuild to a particular build execution
Example:
"$CODEBUILD_PUBLIC_BUILD_URL";
getBuildStatusUrl
in interface GitHubEnterpriseSourceProps
https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
public final java.lang.Number getCloneDepth()
GitHubEnterpriseSourceProps
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.
getCloneDepth
in interface GitHubEnterpriseSourceProps
public final java.lang.Boolean getFetchSubmodules()
GitHubEnterpriseSourceProps
Default: false
getFetchSubmodules
in interface GitHubEnterpriseSourceProps
public final java.lang.Boolean getIgnoreSslErrors()
GitHubEnterpriseSourceProps
Default: false
getIgnoreSslErrors
in interface GitHubEnterpriseSourceProps
public final java.lang.Boolean getReportBuildStatus()
GitHubEnterpriseSourceProps
Default: true
getReportBuildStatus
in interface GitHubEnterpriseSourceProps
public final java.lang.Boolean getWebhook()
GitHubEnterpriseSourceProps
Default: true if any `webhookFilters` were provided, false otherwise
getWebhook
in interface GitHubEnterpriseSourceProps
public final java.util.List<FilterGroup> getWebhookFilters()
GitHubEnterpriseSourceProps
A build is triggered if any of the provided filter groups match.
Only valid if webhook
was not provided as false.
Default: every push and every Pull Request (create or update) triggers a build
getWebhookFilters
in interface GitHubEnterpriseSourceProps
public final java.lang.Boolean getWebhookTriggersBatchBuild()
GitHubEnterpriseSourceProps
Enabling this will enable batch builds on the CodeBuild project.
Default: false
getWebhookTriggersBatchBuild
in interface GitHubEnterpriseSourceProps
public final java.lang.String getIdentifier()
SourceProps
This property is required on secondary sources.
getIdentifier
in interface SourceProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()