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
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.CfnSourceCredentialProps
CfnSourceCredentialProps.Builder, CfnSourceCredentialProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnSourceCredentialProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The type of authentication used by the credentials.final String
The type of source provider.final String
getToken()
For GitHub or GitHub Enterprise, this is the personal access token.final String
The Bitbucket username when theauthType
is BASIC_AUTH.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnSourceCredentialProps.Builder
.
-
-
Method Details
-
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 interfaceCfnSourceCredentialProps
-
getServerType
Description copied from interface:CfnSourceCredentialProps
The type of source provider.The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
- Specified by:
getServerType
in interfaceCfnSourceCredentialProps
-
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 interfaceCfnSourceCredentialProps
-
getUsername
Description copied from interface:CfnSourceCredentialProps
The Bitbucket username when theauthType
is BASIC_AUTH.This parameter is not valid for other types of source providers or connections.
- Specified by:
getUsername
in interfaceCfnSourceCredentialProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-