public static interface SourceCredentialsInfo.Builder extends SdkPojo, CopyableBuilder<SourceCredentialsInfo.Builder,SourceCredentialsInfo>
| Modifier and Type | Method and Description |
|---|---|
SourceCredentialsInfo.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the token.
|
SourceCredentialsInfo.Builder |
authType(AuthType authType)
The type of authentication used by the credentials.
|
SourceCredentialsInfo.Builder |
authType(String authType)
The type of authentication used by the credentials.
|
SourceCredentialsInfo.Builder |
serverType(ServerType serverType)
The type of source provider.
|
SourceCredentialsInfo.Builder |
serverType(String serverType)
The type of source provider.
|
copyapplyMutation, buildSourceCredentialsInfo.Builder arn(String arn)
The Amazon Resource Name (ARN) of the token.
arn - The Amazon Resource Name (ARN) of the token.SourceCredentialsInfo.Builder serverType(String serverType)
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
serverType - The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.ServerType,
ServerTypeSourceCredentialsInfo.Builder serverType(ServerType serverType)
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
serverType - The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.ServerType,
ServerTypeSourceCredentialsInfo.Builder authType(String authType)
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
SourceCredentialsInfo.Builder authType(AuthType authType)
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.