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 Amazon
Web Services 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 Amazon
Web Services Secrets Manager secret that contains the credentials used to access the repository.
|
UpdateCodeRepositoryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateCodeRepositoryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 Amazon
Web Services 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
Amazon Web Services 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 Amazon
Web Services 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)
overrideConfiguration
in interface AwsRequest.Builder
UpdateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.