Class CodeCommitSourceProps.Jsii$Proxy

All Implemented Interfaces:
CodeCommitSourceProps, SourceProps,
Enclosing interface:

@Stability(Stable) @Internal public static final class CodeCommitSourceProps.Jsii$Proxy extends implements CodeCommitSourceProps
An implementation for CodeCommitSourceProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CodeCommitSourceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CodeCommitSourceProps.Builder.
  • Method Details

    • getRepository

      public final IRepository getRepository()
      Specified by:
      getRepository in interface CodeCommitSourceProps
    • getBranchOrRef

      public final String getBranchOrRef()
      Description copied from interface: CodeCommitSourceProps
      The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.

      Default: the default branch's HEAD commit ID is used


      Specified by:
      getBranchOrRef in interface CodeCommitSourceProps
    • getCloneDepth

      public final Number getCloneDepth()
      Description copied from interface: CodeCommitSourceProps
      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.

      Specified by:
      getCloneDepth in interface CodeCommitSourceProps
    • getFetchSubmodules

      public final Boolean getFetchSubmodules()
      Description copied from interface: CodeCommitSourceProps
      Whether to fetch submodules while cloning git repo.

      Default: false

      Specified by:
      getFetchSubmodules in interface CodeCommitSourceProps
    • getIdentifier

      public final String getIdentifier()
      Description copied from interface: SourceProps
      The source identifier.

      This property is required on secondary sources.

      Specified by:
      getIdentifier in interface SourceProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object