Class CfnRepository.CodeProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codecommit.CfnRepository.CodeProperty.Jsii$Proxy
All Implemented Interfaces:
CfnRepository.CodeProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnRepository.CodeProperty

@Stability(Stable) @Internal public static final class CfnRepository.CodeProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRepository.CodeProperty
An implementation for CfnRepository.CodeProperty
  • 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(CfnRepository.CodeProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnRepository.CodeProperty.Builder.
  • Method Details

    • getS3

      public final Object getS3()
      Description copied from interface: CfnRepository.CodeProperty
      Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.

      Changes to this property are ignored after initial resource creation.

      Specified by:
      getS3 in interface CfnRepository.CodeProperty
    • getBranchName

      public final String getBranchName()
      Description copied from interface: CfnRepository.CodeProperty
      Optional.

      Specifies a branch name to be used as the default branch when importing code into a repository on initial creation. If this property is not set, the name main will be used for the default branch for the repository. Changes to this property are ignored after initial resource creation. We recommend using this parameter to set the name to main to align with the default behavior of CodeCommit unless another name is needed.

      Specified by:
      getBranchName in interface CfnRepository.CodeProperty
    • $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