@Stability(value=Experimental) @Internal public static final class CodeCommitSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CodeCommitSourceProps
CodeCommitSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeCodeCommitSourceProps.Builder, CodeCommitSourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IRepository repository,
String branchOrRef,
Number cloneDepth,
Boolean fetchSubmodules,
String identifier)
Constructor that initializes the object based on literal property values passed by the
CodeCommitSourceProps.Builder. |
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(Object o) |
String |
getBranchOrRef()
(experimental) The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
|
Number |
getCloneDepth()
(experimental) The depth of history to download.
|
Boolean |
getFetchSubmodules()
(experimental) Whether to fetch submodules while cloning git repo.
|
String |
getIdentifier()
(experimental) The source identifier.
|
IRepository |
getRepository() |
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IRepository repository, String branchOrRef, Number cloneDepth, Boolean fetchSubmodules, String identifier)
CodeCommitSourceProps.Builder.public final IRepository getRepository()
getRepository in interface CodeCommitSourcePropspublic final String getBranchOrRef()
CodeCommitSourcePropsDefault: the default branch's HEAD commit ID is used
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "mybranch";
getBranchOrRef in interface CodeCommitSourcePropspublic final Number getCloneDepth()
CodeCommitSourcePropsMinimum 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 CodeCommitSourcePropspublic final Boolean getFetchSubmodules()
CodeCommitSourcePropsDefault: false
getFetchSubmodules in interface CodeCommitSourcePropspublic final String getIdentifier()
SourcePropsThis property is required on secondary sources.
getIdentifier in interface SourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.