Interface UpdateCodeRepositoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCodeRepositoryRequest.Builder,
,UpdateCodeRepositoryRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateCodeRepositoryRequest.Builder,
,UpdateCodeRepositoryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCodeRepositoryRequest
-
Method Summary
Modifier and TypeMethodDescriptioncodeRepositoryName
(String codeRepositoryName) The name of the Git repository to update.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.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
codeRepositoryName
The name of the Git repository to update.
- Parameters:
codeRepositoryName
- The name of the Git repository to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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}
- Parameters:
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 ofAWSCURRENT
and must be in the following format:{"username": UserName, "password": Password}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfig
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 viaGitConfigForUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitConfig(GitConfigForUpdate)
.- Parameters:
gitConfig
- a consumer that will call methods onGitConfigForUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCodeRepositoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-