Class CfnRepositoryAssociationProps.Jsii$Proxy

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

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

    • getName

      public final String getName()
      Description copied from interface: CfnRepositoryAssociationProps
      The name of the repository.
      Specified by:
      getName in interface CfnRepositoryAssociationProps
    • getType

      public final String getType()
      Description copied from interface: CfnRepositoryAssociationProps
      The type of repository that contains the source code to be reviewed. The valid values are:.

      • CodeCommit
      • Bitbucket
      • GitHubEnterpriseServer
      • S3Bucket
      Specified by:
      getType in interface CfnRepositoryAssociationProps
    • getBucketName

      public final String getBucketName()
      Description copied from interface: CfnRepositoryAssociationProps
      The name of the bucket.

      This is required for your S3Bucket repository. The name must start with the prefix codeguru-reviewer-* .

      Specified by:
      getBucketName in interface CfnRepositoryAssociationProps
    • getConnectionArn

      public final String getConnectionArn()
      Description copied from interface: CfnRepositoryAssociationProps
      The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection.

      Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id . For more information, see Connection in the AWS CodeStar Connections API Reference .

      ConnectionArn must be specified for Bitbucket and GitHub Enterprise Server repositories. It has no effect if it is specified for an AWS CodeCommit repository.

      Specified by:
      getConnectionArn in interface CfnRepositoryAssociationProps
    • getOwner

      public final String getOwner()
      Description copied from interface: CfnRepositoryAssociationProps
      The owner of the repository.

      For a GitHub Enterprise Server or Bitbucket repository, this is the username for the account that owns the repository.

      Owner must be specified for Bitbucket and GitHub Enterprise Server repositories. It has no effect if it is specified for an AWS CodeCommit repository.

      Specified by:
      getOwner in interface CfnRepositoryAssociationProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnRepositoryAssociationProps
      An array of key-value pairs used to tag an associated repository.

      A tag is a custom attribute label with two parts:

      • A tag key (for example, CostCenter , Environment , Project , or Secret ). Tag keys are case sensitive.
      • An optional field known as a tag value (for example, 111122223333 , Production , or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.
      Specified by:
      getTags in interface CfnRepositoryAssociationProps
    • $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