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)
Add an optional request override configuration.
|
ImportSourceCredentialsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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 |
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. |
build
overrideConfiguration
copy
applyMutation, build
ImportSourceCredentialsRequest.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
,
ServerType
ImportSourceCredentialsRequest.Builder serverType(ServerType serverType)
The source provider used for this project.
serverType
- The source provider used for this project.ServerType
,
ServerType
ImportSourceCredentialsRequest.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
,
AuthType
ImportSourceCredentialsRequest.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
,
AuthType
ImportSourceCredentialsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ImportSourceCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.