public static interface ImportSourceCredentialsRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ImportSourceCredentialsRequest.Builder,ImportSourceCredentialsRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportSourceCredentialsRequest.Builder |
authType(AuthType authType)
The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository.
|
ImportSourceCredentialsRequest.Builder |
authType(String authType)
The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository.
|
ImportSourceCredentialsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ImportSourceCredentialsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ImportSourceCredentialsRequest.Builder |
serverType(ServerType serverType)
The source provider used for this project.
|
ImportSourceCredentialsRequest.Builder |
serverType(String serverType)
The source provider used for this project.
|
ImportSourceCredentialsRequest.Builder |
shouldOverwrite(Boolean shouldOverwrite)
Set to
false to prevent overwriting the repository source credentials. |
ImportSourceCredentialsRequest.Builder |
token(String token)
For GitHub or GitHub Enterprise, this is the personal access token.
|
ImportSourceCredentialsRequest.Builder |
username(String username)
The Bitbucket username when the
authType is BASIC_AUTH. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportSourceCredentialsRequest.Builder username(String username)
The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other
types of source providers or connections.
username - The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for
other types of source providers or connections.ImportSourceCredentialsRequest.Builder token(String token)
For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.
token - For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app
password.ImportSourceCredentialsRequest.Builder serverType(String serverType)
The source provider used for this project.
serverType - The source provider used for this project.ServerType,
ServerTypeImportSourceCredentialsRequest.Builder serverType(ServerType serverType)
The source provider used for this project.
serverType - The source provider used for this project.ServerType,
ServerTypeImportSourceCredentialsRequest.Builder authType(String authType)
The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.
authType - The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An
OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.AuthType,
AuthTypeImportSourceCredentialsRequest.Builder authType(AuthType authType)
The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.
authType - The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An
OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.AuthType,
AuthTypeImportSourceCredentialsRequest.Builder shouldOverwrite(Boolean shouldOverwrite)
Set to false to prevent overwriting the repository source credentials. Set to true
to overwrite the repository source credentials. The default value is true.
shouldOverwrite - Set to false to prevent overwriting the repository source credentials. Set to
true to overwrite the repository source credentials. The default value is
true.ImportSourceCredentialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderImportSourceCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.