public static interface UpdateCodeRepositoryRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateCodeRepositoryRequest.Builder,UpdateCodeRepositoryRequest>
Modifier and Type | Method and Description |
---|---|
UpdateCodeRepositoryRequest.Builder |
codeRepositoryName(String codeRepositoryName)
The name of the git repository to update.
|
default UpdateCodeRepositoryRequest.Builder |
gitConfig(Consumer<GitConfigForUpdate.Builder> gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS
Secrets Manager secret that contains the credentials used to access the repository.
|
UpdateCodeRepositoryRequest.Builder |
gitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS
Secrets Manager secret that contains the credentials used to access the repository.
|
UpdateCodeRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateCodeRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateCodeRepositoryRequest.Builder codeRepositoryName(String codeRepositoryName)
The name of the git repository to update.
codeRepositoryName
- The name of the git repository to update.UpdateCodeRepositoryRequest.Builder gitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS
Secrets Manager secret that contains the credentials used to access the repository. The secret must have a
staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
gitConfig
- The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the
AWS Secrets Manager secret that contains the credentials used to access the repository. The secret
must have a staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
default UpdateCodeRepositoryRequest.Builder gitConfig(Consumer<GitConfigForUpdate.Builder> gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS
Secrets Manager secret that contains the credentials used to access the repository. The secret must have a
staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
GitConfigForUpdate.Builder
avoiding the need to
create one manually via GitConfigForUpdate.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to gitConfig(GitConfigForUpdate)
.gitConfig
- a consumer that will call methods on GitConfigForUpdate.Builder
gitConfig(GitConfigForUpdate)
UpdateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateCodeRepositoryRequest.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.