Class CodeCommitSourceProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codebuild.CodeCommitSourceProps.Jsii$Proxy
All Implemented Interfaces:
CodeCommitSourceProps, SourceProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CodeCommitSourceProps

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

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      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

      Example:

       "mybranch";
       
      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 software.amazon.jsii.JsiiSerializable
    • equals

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

      public final int hashCode()
      Overrides:
      hashCode in class Object