@Stability(value=Stable) @Internal public static final class CfnSourceCredentialProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSourceCredentialProps
CfnSourceCredentialPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnSourceCredentialProps.Builder, CfnSourceCredentialProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnSourceCredentialProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnSourceCredentialProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAuthType()
The type of authentication used by the credentials.
|
String |
getServerType()
The type of source provider.
|
String |
getToken()
For GitHub or GitHub Enterprise, this is the personal access token.
|
String |
getUsername()
The Bitbucket username when the `authType` is BASIC_AUTH.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnSourceCredentialProps.Builder builder)
CfnSourceCredentialProps.Builder.public final String getAuthType()
CfnSourceCredentialPropsValid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
getAuthType in interface CfnSourceCredentialPropspublic final String getServerType()
CfnSourceCredentialPropsThe valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
getServerType in interface CfnSourceCredentialPropspublic final String getToken()
CfnSourceCredentialPropsFor Bitbucket, this is the app password.
getToken in interface CfnSourceCredentialPropspublic final String getUsername()
CfnSourceCredentialPropsThis parameter is not valid for other types of source providers or connections.
getUsername in interface CfnSourceCredentialProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.