Class CfnSourceCredentialProps.Jsii$Proxy

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

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

    • getAuthType

      public final String getAuthType()
      Description copied from interface: CfnSourceCredentialProps
      The type of authentication used by the credentials.

      Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.

      Specified by:
      getAuthType in interface CfnSourceCredentialProps
    • getServerType

      public final String getServerType()
      Description copied from interface: CfnSourceCredentialProps
      The type of source provider.

      The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.

      Specified by:
      getServerType in interface CfnSourceCredentialProps
    • getToken

      public final String getToken()
      Description copied from interface: CfnSourceCredentialProps
      For GitHub or GitHub Enterprise, this is the personal access token.

      For Bitbucket, this is the app password.

      Specified by:
      getToken in interface CfnSourceCredentialProps
    • getUsername

      public final String getUsername()
      Description copied from interface: CfnSourceCredentialProps
      The Bitbucket username when the authType is BASIC_AUTH.

      This parameter is not valid for other types of source providers or connections.

      Specified by:
      getUsername in interface CfnSourceCredentialProps
    • $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